This commit is contained in:
2024-08-15 22:40:25 +02:00
parent 133498b139
commit b3ea17a6f9

View File

@@ -79,8 +79,8 @@ func main() {
flag.BoolVar(&noinit, "noinit", false, "Do not add remote to the new repo") flag.BoolVar(&noinit, "noinit", false, "Do not add remote to the new repo")
flag.BoolVar(&noinit, "ni", false, "Do not add remote to the new repo (shorthand)") flag.BoolVar(&noinit, "ni", false, "Do not add remote to the new repo (shorthand)")
flag.BoolVar(&forceInit, "f", false, "Force assignment of the remote (deletes existing origin)") flag.BoolVar(&forceInit, "f", false, "Force assignment of the remote (deletes existing origin)")
flag.StringVar(&remote, "remote", "origin", "Namw of the remote to create for the new repository") flag.StringVar(&remote, "remote", "origin", "Name of the remote to create for the new repository")
flag.StringVar(&remote, "r", "origin", "Namw of the remote to create for the new repository (shorthand)") flag.StringVar(&remote, "r", "origin", "Name of the remote to create for the new repository (shorthand)")
flag.Parse() flag.Parse()
if len(flag.Args()) > 0 { if len(flag.Args()) > 0 {