We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac40431 commit f868a82Copy full SHA for f868a82
tools/semver-compare.sh
@@ -202,8 +202,8 @@ EOF
202
# FIXME: "else" and error handling vs number too small and ignored?
203
shift
204
;;
205
- --expand|-x) echo "$2" | filter_add_extra_width ; shift ;;
206
- --strip|+x) echo "$2" | filter_away_leading_zeroes ; shift ;;
+ --expand|-x|expand) echo "$2" | filter_add_extra_width ; shift ;;
+ --strip|+x|strip) echo "$2" | filter_away_leading_zeroes ; shift ;;
207
--sortable-expand) printf '%s\t%s\n' "`echo \"$2\" | filter_add_extra_width`" "$2" ; shift ;;
208
--sortable-strip) printf '%s\t%s\n' "$2" "`echo \"$2\" | filter_away_leading_zeroes`" ; shift ;;
209
--sort|sort)
0 commit comments