Skip to content

Commit

Permalink
change uloc to have short flag
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed May 1, 2024
1 parent c4330ff commit e349fb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ func main() {

flags := rootCmd.PersistentFlags()

flags.BoolVar(
flags.BoolVarP(
&processor.UlocMode,
"uloc",
"u",
false,
"calculate the number of unique lines of code (ULOC) for the project",
)
Expand Down

0 comments on commit e349fb1

Please sign in to comment.