Skip to content

Commit

Permalink
feat: add shorthand of the work directory flag (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkYuan committed Apr 26, 2024
1 parent 13fb753 commit 24ccfd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/meta/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (f *MetaFlags) AddFlags(cmd *cobra.Command) {
cmd.Flags().StringVarP(f.Backend, "backend", "", *f.Backend, i18n.T("The backend to use, supports 'local', 'oss' and 's3'."))
}
if f.WorkDir != nil {
cmd.Flags().StringVarP(f.WorkDir, "workdir", "", *f.WorkDir, i18n.T("The work directory to run Kusion CLI."))
cmd.Flags().StringVarP(f.WorkDir, "workdir", "w", *f.WorkDir, i18n.T("The work directory to run Kusion CLI."))
}
}

Expand Down

0 comments on commit 24ccfd7

Please sign in to comment.