summaryrefslogtreecommitdiff
path: root/src/op_mode/version.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-23 13:36:43 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-23 13:36:43 +0000
commit893dad656fdd822bf770c269294dc51dfe5e6d33 (patch)
treee15643f78f88671620f3a899fee068c68ee96510 /src/op_mode/version.py
parent94355927bfa21cda01e7db54060cf0292bbacd43 (diff)
downloadvyos-1x-893dad656fdd822bf770c269294dc51dfe5e6d33.tar.gz
vyos-1x-893dad656fdd822bf770c269294dc51dfe5e6d33.zip
op-mode: T2856: Fix broken pipe in show version all
Diffstat (limited to 'src/op_mode/version.py')
-rwxr-xr-xsrc/op_mode/version.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/op_mode/version.py b/src/op_mode/version.py
index a9916d246..49f55e1b4 100755
--- a/src/op_mode/version.py
+++ b/src/op_mode/version.py
@@ -33,7 +33,6 @@ import vyos.limericks
parser = argparse.ArgumentParser()
-parser.add_argument("-a", "--all", action="store_true", help="Include individual package versions")
parser.add_argument("-f", "--funny", action="store_true", help="Add something funny to the output")
parser.add_argument("-j", "--json", action="store_true", help="Produce JSON output")
@@ -118,9 +117,5 @@ if __name__ == '__main__':
output = pystache.render(version_output_tmpl, version_data).strip()
print(output)
- if args.all:
- print("Package versions:")
- os.system("dpkg -l")
-
if args.funny:
print(vyos.limericks.get_random())