This repository was archived by the owner on Jun 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-19
lines changed
Expand file tree Collapse file tree 2 files changed +6
-19
lines changed Original file line number Diff line number Diff line change 126126 merge = refs/heads/master
127127```
128128
129- ## TODO
130-
131- - [ ] ` --verbose ` flag
132- - [ ] ` --node ` flag
133-
134129## Open-Source License - [ GNU General Public License v3.0] ( LICENSE )
135130
136131``` license
Original file line number Diff line number Diff line change @@ -160,9 +160,7 @@ func main() {
160160 } else {
161161 os .Exit (1 )
162162 }
163- case "get" :
164- case "dl" :
165- case "download" :
163+ case "get" , "dl" , "download" :
166164 switch len (os .Args ) {
167165 default :
168166 get ("" , "" )
@@ -172,21 +170,17 @@ func main() {
172170 get (os .Args [2 ], os .Args [3 ])
173171 }
174172 os .Exit (0 )
175- case "conv" :
176- case "convert" :
173+ case "conv" , "convert" :
177174 switch len (os .Args ) {
178175 default :
179176 fmt .Println ("Invalid args for conv. Use --help to get more information." )
180177 case 3 :
181178 switch os .Args [2 ] {
182- case "gh" :
183- case "github" :
179+ case "gh" , "github" :
184180 convertToGitHub ()
185- case "fg" :
186- case "fastgit" :
181+ case "fg" , "fastgit" :
187182 convertToFastGit ()
188- case "-h" :
189- case "--help" :
183+ case "-h" , "--help" :
190184 fmt .Println ("" +
191185 "FastGit Conv Command Line Tool\n " +
192186 "==============================\n " +
@@ -219,9 +213,7 @@ func main() {
219213 " fgit conv gh" )
220214 }
221215 os .Exit (0 )
222- case "-v" :
223- case "--version" :
224- case "version" :
216+ case "-v" , "--version" , "version" :
225217 showVersion ()
226218 }
227219
You can’t perform that action at this time.
0 commit comments