feat: improve archive option failure
This commit is contained in:
parent
7cb2b51183
commit
6218f412c5
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ func manageArguments() {
|
||||||
if includeArchived != "any" &&
|
if includeArchived != "any" &&
|
||||||
includeArchived != "only" &&
|
includeArchived != "only" &&
|
||||||
includeArchived != "excluded" {
|
includeArchived != "excluded" {
|
||||||
fmt.Println("Usage: gogitlabber --archived=(any|excluded|only)")
|
fmt.Println("Fatal: Wrong archive option found.")
|
||||||
|
printUsage()
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue