You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// "--config" flag is provided by global flags, and this flag is also used by "environment-to-ini" script wrapper
64
62
&cli.StringFlag{
65
-
Name: "config-key-template",
63
+
Name: "config-keep-keys",
66
64
Usage: "An INI template file containing keys for keeping. Only the keys defined in the INI template will be kept from old config. If not set, all keys will be kept.",
67
65
},
68
66
&cli.BoolFlag{
69
67
Name: "apply-env",
70
68
Usage: "Apply all GITEA__* variables from the environment to the config.",
71
69
},
70
+
&cli.BoolFlag{
71
+
Name: "in-place",
72
+
Usage: "Output to the same config file as input.",
73
+
},
72
74
&cli.StringFlag{
73
75
Name: "out",
74
76
Usage: "Destination config file to write to. If not set, will overwrite the source config file.",
0 commit comments