Более лаконичное название для флагов: no-presnag -> no-pre, no-postsnag -> no-post

This commit is contained in:
Alexander Zhirov 2025-05-28 15:07:28 +03:00
parent f924800387
commit 31211516cb
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -63,11 +63,11 @@ int main(string[] args)
"must contain an email address"
)
)
.add(new Flag(null, "no-presnag", "Execution without running pre-execution commands")
.add(new Flag(null, "no-pre", "Execution without running pre-execution commands")
.name("nopre")
.optional
)
.add(new Flag(null, "no-postsnag", "Execution without running post-execution commands")
.add(new Flag(null, "no-post", "Execution without running post-execution commands")
.name("nopost")
.optional
)
@ -104,11 +104,11 @@ int main(string[] args)
"must contain an email address"
)
)
.add(new Flag(null, "no-presnag", "Execution without running pre-execution commands")
.add(new Flag(null, "no-pre", "Execution without running pre-execution commands")
.name("nopre")
.optional
)
.add(new Flag(null, "no-postsnag", "Execution without running post-execution commands")
.add(new Flag(null, "no-post", "Execution without running post-execution commands")
.name("nopost")
.optional
)
@ -129,11 +129,11 @@ int main(string[] args)
)
.add(new Command("restore", "Restore to the specified snapshot state")
.add(new Argument("snapshot", "Specify snapshot hash").required)
.add(new Flag(null, "no-presnag", "Execution without running pre-execution commands")
.add(new Flag(null, "no-pre", "Execution without running pre-execution commands")
.name("nopre")
.optional
)
.add(new Flag(null, "no-postsnag", "Execution without running post-execution commands")
.add(new Flag(null, "no-post", "Execution without running post-execution commands")
.name("nopost")
.optional
)