We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72c6a91 commit b71a098Copy full SHA for b71a098
git.ado
@@ -54,6 +54,12 @@ syntax anything(name=gitArgs id="git command and arguments")
54
}
55
local gitParam1 = trim(subinstr("`gitArgs'","`gitCommand'","",1))
56
57
+ if("`gitCommand'" != "install" & "`gitCommand'" != "uninstall" & "`gitCommand'" != "update" & "`gitCommand'" != "list"){
58
+ di as red "`gitCommand' is not a valid git command"
59
+ di as yellow "Expected one of: install, uninstal, update, list."
60
+ exit
61
+ }
62
+
63
/* Translate "install" to "clone". "install" is used to be consistent with the ssc command */
64
if("`gitCommand'" == "install"){
65
0 commit comments