Skip to content

Commit

Permalink
Merge pull request #1940 from rsteube/git-stripspace
Browse files Browse the repository at this point in the history
git: stripspace
  • Loading branch information
rsteube authored Oct 29, 2023
2 parents 99bf861 + 11fd37c commit be7b68d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var stripspaceCmd = &cobra.Command{

func init() {
carapace.Gen(stripspaceCmd).Standalone()

stripspaceCmd.Flags().BoolP("comment-lines", "c", false, "prepend comment character and space to each line")
stripspaceCmd.Flags().BoolP("strip-comments", "s", false, "skip and remove all lines starting with comment character")
rootCmd.AddCommand(stripspaceCmd)
Expand Down

0 comments on commit be7b68d

Please sign in to comment.