Skip to content

Commit

Permalink
tools: minor fixes for documentation building
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed May 11, 2017
1 parent d343969 commit 39a888d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion qubesmgmt/tools/qubes_prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@
import qubesmgmt.tools.qvm_prefs


def get_parser():
return qubesmgmt.tools.qvm_prefs.get_parser(None)


def main(args=None, app=None): # pylint: disable=missing-docstring
parser = qubesmgmt.tools.qvm_prefs.get_parser(None)
parser = get_parser()
args = parser.parse_args(args, app=app)
target = args.app
return qubesmgmt.tools.qvm_prefs.process_actions(parser, args, target)
Expand Down
2 changes: 1 addition & 1 deletion qubesmgmt/tools/qvm_start_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def register_events(self, events):
'.qvm-start-gui.pid')

parser = qubesmgmt.tools.QubesArgumentParser(
description='forceful shutdown of a domain', vmname_nargs='*')
description='start GUI for qube(s)', vmname_nargs='*')
parser.add_argument('--watch', action='store_true',
help='Keep watching for further domains startups, must be used with --all')
parser.add_argument('--pidfile', action='store', default=pidfile_path,
Expand Down
2 changes: 1 addition & 1 deletion qubesmgmt/tools/qvm_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def init_revert_parser(sub_parsers):
def init_extend_parser(sub_parsers):
''' Add 'extend' action related options '''
extend_parser = sub_parsers.add_parser(
"extend", help="extend volume from domain", aliases=('d', 'dt'))
"extend", help="extend volume from domain")
extend_parser.add_argument(metavar='VM:VOLUME', dest='volume',
action=qubesmgmt.tools.VMVolumeAction)
extend_parser.add_argument('size', help='New size in bytes')
Expand Down

0 comments on commit 39a888d

Please sign in to comment.