[bin] add "--print" to bump_misc

This commit is contained in:
Sławomir Nizio
2015-02-21 19:38:42 +01:00
parent f79851ecee
commit d7a125619b
+6
View File
@@ -19,6 +19,11 @@ if [ "$1" = "--repo" ]; then
shift; shift
fi
if [ "$1" = "--print" ]; then
cmd="echo $cmd"
shift
fi
overlay=${overlay:-$default_overlay}
what=$1
@@ -55,6 +60,7 @@ transmission|tra)
*)
echo "Excuse me, but I non capisco." >&2
echo "Use --repo <repository> to use different overlay (default: $default_overlay)." >&2
echo "Use --print just to print what would be done."
[ -n "$1" ] && echo "Run without any parameter for interactive use." >&2
exit 1
esac