Unverified Commit c729a2ed authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Fix typos and reindent the help text so that it renders properly



osc’s own help texts are indented by 8 spaces, and various formatting
functions expect this indent to be the same across all osc subcommands.

Signed-off-by: Andrej Shadura's avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent b92d15f9
......@@ -9,16 +9,16 @@ import osc_plugin_dput
@cmdln.option('--maintained-in-git', action='store_true',
help='add MAINTAINED_IN_GIT.txt')
def do_dput(self, subcmd, opts, proj_name, dsc_file):
"""
${cmd_name}: Automate the process of submiting a debian package to the OBS server.
"""${cmd_name}: Automate the process of submitting a Debian package to the OBS server
It expects a PROJECT_NAME and a .dsc, source .changes file, or
source + binary .changes file. If used with a source + binary .changes
file, the binaries will not be used.
It expects a PROJECT_NAME and a .dsc, source .changes file, or
source + binary .changes file. If used with a source + binary .changes
file, the binaries will not be used.
Usage:
osc dput PROJECT_NAME PACKAGE.dsc
osc dput PROJECT_NAME PACKAGE_source.changes
Usage:
osc [global options] dput PROJECT_NAME PACKAGE.dsc
osc [global options] dput PROJECT_NAME PACKAGE_source.changes
"""
# in older versions of osc, this ends up in the class namespace (!)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment