Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #40 from upgrades-migrations/add_force_to_man
Browse files Browse the repository at this point in the history
Add --force option to manpage
  • Loading branch information
bocekm authored Jun 12, 2018
2 parents b6299f1 + c3e5051 commit a7f6133
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 7 additions & 2 deletions man/redhat-upgrade-tool.8
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: redhat-upgrade-tool
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 11/08/2017
.\" Date: 06/12/2018
.\" Manual: redhat-upgrade-tool User Manual
.\" Source: redhat-upgrade-tool
.\" Language: English
.\"
.TH "REDHAT\-UPGRADE\-TOO" "8" "11/08/2017" "redhat\-upgrade\-tool" "redhat\-upgrade\-tool User Man"
.TH "REDHAT\-UPGRADE\-TOO" "8" "06/12/2018" "redhat\-upgrade\-tool" "redhat\-upgrade\-tool User Man"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down Expand Up @@ -59,6 +59,11 @@ Print more info\&.
Print lots of debugging info\&.
.RE
.PP
\fB\-\-force\fR
.RS 4
Continue even if the Preupgrade Assistant risk check fails\&. Use it at your own risk\&.
.RE
.PP
\fB\-\-debuglog\fR \fIDEBUGLOG\fR
.RS 4
Write debugging output to the given file\&. Defaults to
Expand Down
3 changes: 3 additions & 0 deletions man/redhat-upgrade-tool.8.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Print more info.
*-d*, *--debug*::
Print lots of debugging info.

*--force*::
Continue even if the Preupgrade Assistant risk check fails. Use it at your own risk.

*--debuglog* 'DEBUGLOG'::
Write debugging output to the given file. Defaults to '/var/log/redhat-upgrade-tool.log'.

Expand Down
3 changes: 2 additions & 1 deletion redhat_upgrade_tool/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def parse_args(gui=False):
p.set_defaults(loglevel=logging.WARNING)

p.add_option('-f', '--force', action='store_true', default=False,
help=_('continue even if preupgrade-assistant risk check fails'))
help=_('continue even if the Preupgrade Assistant risk check'
'fails. Use it at your own risk.'))
p.add_option('--cleanup-post', action='store_true', default=False,
help=_('cleanup old package after the upgrade'))

Expand Down

0 comments on commit a7f6133

Please sign in to comment.