diff --git a/doc/manpages/qubes-prefs.rst b/doc/manpages/qubes-prefs.rst index 877e9df9..295501cd 100644 --- a/doc/manpages/qubes-prefs.rst +++ b/doc/manpages/qubes-prefs.rst @@ -35,6 +35,14 @@ Options Unset the property. If is has default value, it will be used instead. +.. option:: --get, -g + + Ignored; for compatibility with older scripts. + +.. option:: --set, -s + + Ignored; for compatibility with older scripts. + Common properties ================= diff --git a/doc/manpages/qvm-prefs.rst b/doc/manpages/qvm-prefs.rst index f0377c54..4fa210cc 100644 --- a/doc/manpages/qvm-prefs.rst +++ b/doc/manpages/qvm-prefs.rst @@ -35,6 +35,14 @@ Options Unset the property. If is has default value, it will be used instead. +.. option:: --get, -g + + Ignored; for compatibility with older scripts. + +.. option:: --set, -s + + Ignored; for compatibility with older scripts. + Common properties ================= diff --git a/qubes/tools/qubes_prefs.py b/qubes/tools/qubes_prefs.py index 12a644f4..acf09490 100644 --- a/qubes/tools/qubes_prefs.py +++ b/qubes/tools/qubes_prefs.py @@ -39,6 +39,14 @@ parser = qubes.tools.QubesArgumentParser( parser.add_argument('--help-properties', action=qubes.tools.HelpPropertiesAction) +parser.add_argument('--get', '-g', + action='store_true', + help='Ignored; for compatibility with older scripts.') + +parser.add_argument('--set', '-s', + action='store_true', + help='Ignored; for compatibility with older scripts.') + parser.add_argument('property', metavar='PROPERTY', nargs='?', help='name of the property to show or change') diff --git a/qubes/tools/qvm_prefs.py b/qubes/tools/qvm_prefs.py index 52d24124..3fc503fd 100644 --- a/qubes/tools/qvm_prefs.py +++ b/qubes/tools/qvm_prefs.py @@ -42,6 +42,14 @@ parser.add_argument('--help-properties', action=qubes.tools.HelpPropertiesAction, klass=qubes.vm.qubesvm.QubesVM) +parser.add_argument('--get', '-g', + action='store_true', + help='Ignored; for compatibility with older scripts.') + +parser.add_argument('--set', '-s', + action='store_true', + help='Ignored; for compatibility with older scripts.') + parser.add_argument('property', metavar='PROPERTY', nargs='?', help='name of the property to show or change')