Many options that ptxdist parses are the same for make(1) (e.g. -j, -k,
-d).  However the option to make make silent is -s, add that to reduce
the time I spend on thinking which option is for which command.

While at it also add --silent in accordance to make (which also knows
about --quiet by the way).

Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>
---
 bin/ptxdist | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/ptxdist b/bin/ptxdist
index af0e5253e89f..740d77321688 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -812,6 +812,7 @@ Options:
 
   --debug, -d                  print out additional info (like make decisions)
   --quiet, -q                  suppress output, show only stderr
+  --silent, -s                 alias for --quiet
   --verbose, -v                        be more verbose, print command before 
execute them
   --output-sync                        Improve output readability for parallel 
building.
                                Disabled by default except for quiet builds.
@@ -1148,7 +1149,7 @@ parse_first()
                --progress)
                        PTXDIST_PROGRESS=1
                        ;;
-               -q|--quiet)
+               -q|--quiet|-s|--silent)
                        PTXDIST_QUIET=1
                        ;;
                --git)

base-commit: bdb6f5f98505a13dbeffda3dfdea4a4f3bf586c6
-- 
2.37.2


Reply via email to