diff --git a/bin/isimage b/bin/isimage index f9bc865b51b7a2e7412e66be3f6756b57d02c289..76863818c4ad39466e92755c0f7cd1a16c4b2720 100755 --- a/bin/isimage +++ b/bin/isimage @@ -53,7 +53,7 @@ def build(options): # Top level argument parsing p_main = argparse.ArgumentParser() -p_main.add_argument("-v", "--version", action="version", version=installsystems.version, +p_main.add_argument("-V", "--version", action="version", version=installsystems.version, help="show installsystems version") p_main.add_argument('-d', "--debug", action=DebugAction, nargs=0, help="active debug mode") diff --git a/bin/isinstall b/bin/isinstall index 87c71611169baa269848c8a7a82e11c5c1dec0f7..f86449515f61975a024da6cf522eee67c9896f1c 100755 --- a/bin/isinstall +++ b/bin/isinstall @@ -22,7 +22,7 @@ class DebugAction(argparse.Action): # Top level argument parsing p_main = argparse.ArgumentParser() -p_main.add_argument("-", "--version", action="version", version=installsystems.version, +p_main.add_argument("-V", "--version", action="version", version=installsystems.version, help="show installsystems version") p_main.add_argument('-d', "--debug", action=DebugAction, nargs=0, help="active debug mode") @@ -35,12 +35,12 @@ p_main.add_argument("-D", "--data-path", dest="data_path", type=str, default=Non p_main.add_argument("-C", "--cache-path", dest="cache_path", type=str, default="/var/cache/isinstall", help="local cache repository path") -p_main.add_argument("-V", "--image-version", dest="image_version", type=int, default=None, +p_main.add_argument("-v", "--image-version", dest="image_version", type=int, default=None, help="specific image version") -p_main.add_argument("image_name", type=str, - help="image to install") p_main.add_argument('-u', "--update", action="store_true", dest="update", default=False, help="update repository cache") +p_main.add_argument("image_name", type=str, + help="image to install (path or name)") # program entry point try: diff --git a/bin/isrepo b/bin/isrepo index 23b59ac048f73dd2c007e085c8761e009f057e68..70082da9040e88b6f7d9d738f871c9c9977449c9 100755 --- a/bin/isrepo +++ b/bin/isrepo @@ -50,7 +50,7 @@ def delete(options): # Top level argument parsing p_main = argparse.ArgumentParser() -p_main.add_argument("-v", "--version", action="version", version=installsystems.version, +p_main.add_argument("-V", "--version", action="version", version=installsystems.version, help="show installsystems version") p_main.add_argument('-d', "--debug", action=DebugAction, nargs=0, help="active debug mode")