summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-05-15 03:27:12 -0500
committerMax Rees <maxcrees@me.com>2020-05-15 03:27:12 -0500
commit9793b1e6428bdea2663efd07aee83b55aae421bd (patch)
treeda79ecf654462c66aa8ab43b5912702793a399f3
parent07f88da9a917ec697176ea422ab5a0b1cf6d23e0 (diff)
downloadarch-tester-9793b1e6428bdea2663efd07aee83b55aae421bd.tar.gz
arch-tester-9793b1e6428bdea2663efd07aee83b55aae421bd.tar.bz2
arch-tester-9793b1e6428bdea2663efd07aee83b55aae421bd.tar.xz
arch-tester-9793b1e6428bdea2663efd07aee83b55aae421bd.zip
*_test: put defaults in --help
-rw-r--r--depver_test.py4
-rw-r--r--pkgver_test.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/depver_test.py b/depver_test.py
index 014e296..f7a1077 100644
--- a/depver_test.py
+++ b/depver_test.py
@@ -174,12 +174,12 @@ if __name__ == "__main__":
opts.add_argument(
"-f", "--format", choices=FORMATTERS.keys(),
default="pretty" if os.isatty(sys.stdout.fileno()) else "tab",
- help="display format",
+ help="display format (default: guess pretty or tab)",
)
opts.add_argument(
"-o", "--order", choices=ORDERS.keys(),
default="pkg",
- help="display order",
+ help="display order (default: pkg)",
)
opts.add_argument(
"url", metavar="URL",
diff --git a/pkgver_test.py b/pkgver_test.py
index 0a39f90..6bbf25f 100644
--- a/pkgver_test.py
+++ b/pkgver_test.py
@@ -121,7 +121,7 @@ if __name__ == "__main__":
opts.add_argument(
"-f", "--format", choices=FORMATTERS.keys(),
default="pretty" if os.isatty(sys.stdout.fileno()) else "tab",
- help="display format",
+ help="display format (default: guess pretty or tab)",
)
opts.add_argument(
"-m", "--only-missing", action="store_true",
@@ -130,7 +130,7 @@ if __name__ == "__main__":
opts.add_argument(
"-o", "--order", choices=ORDERS.keys(),
default="pkg",
- help="display order",
+ help="display order (default: pkg)",
)
opts.add_argument(
"url", metavar="URL",