mirror of https://github.com/docker/compose.git
introduce --compatibility (noop) for backward ... compatibility
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
18059295f7
commit
3324429320
|
@ -148,7 +148,9 @@ func (o *projectOptions) addProjectFlags(f *pflag.FlagSet) {
|
|||
f.StringVar(&o.EnvFile, "env-file", "", "Specify an alternate environment file.")
|
||||
f.StringVar(&o.ProjectDir, "project-directory", "", "Specify an alternate working directory\n(default: the path of the Compose file)")
|
||||
f.StringVar(&o.WorkDir, "workdir", "", "DEPRECATED! USE --project-directory INSTEAD.\nSpecify an alternate working directory\n(default: the path of the Compose file)")
|
||||
f.Bool("compatibility", false, "DEPRECATED")
|
||||
_ = f.MarkHidden("workdir")
|
||||
_ = f.MarkHidden("compatibility")
|
||||
}
|
||||
|
||||
func (o *projectOptions) toProjectName() (string, error) {
|
||||
|
|
Loading…
Reference in New Issue