summaryrefslogtreecommitdiff
path: root/cmd/podman/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r--cmd/podman/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go
index 35487a83a..8d66beab0 100644
--- a/cmd/podman/create.go
+++ b/cmd/podman/create.go
@@ -401,7 +401,7 @@ func parseCreateOpts(ctx context.Context, c *cli.Context, runtime *libpod.Runtim
// WORKING DIRECTORY
workDir := "/"
- if c.IsSet("workdir") {
+ if c.IsSet("workdir") || c.IsSet("w") {
workDir = c.String("workdir")
} else if data.ContainerConfig.WorkingDir != "" {
workDir = data.ContainerConfig.WorkingDir