Skip to content

Commit

Permalink
Added script to list parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed May 27, 2024
1 parent 1141c3b commit 4de2b0b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cliargs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

java -cp "lib/test/*" com.puppycrawl.tools.checkstyle.Main --help |\
grep "^ -.*" |\
sed -e "s/ -/-/" -e "s/[,=].*//" -e "s/-/\"-/" -e "s/$/\",/" |\
sed -e '$s/,//' -e '/-V/d' -e '/-h/d' |\
sort

0 comments on commit 4de2b0b

Please sign in to comment.