Gitlab Community Edition Instance

Commit 0ed8356c authored by Marcel Hellkamp's avatar Marcel Hellkamp
Browse files

Docs and formatting

parent 84c5b873
......@@ -37,7 +37,8 @@ def register(subparsers):
parser.add_argument(
"DST",
nargs="?",
help="Destination filename, directory or '-' for stdout. (default: '-')",
help="Destination filename or directory."
" No parameter or '-' prints to standard output. (default: '-')",
)
parser.set_defaults(main=get)
......@@ -88,7 +89,7 @@ def get(ctx, args): # noqa: C901
if ispipe and out.isatty() and not dl.type.startswith("text/") and not force:
raise CliError(
"Not printing binary data ({}) to a terminal."
" Use --force to override.".format(dl.type)
" (--force not set)".format(dl.type)
)
if progress and not ctx.print.quiet:
......
......@@ -2,9 +2,9 @@
Delete files from an archive.
"""
from contextlib import ExitStack
from pycdstar3 import ApiError
# TODO: Delete directories or glob patterns
from pycdstar3 import ApiError
def register(subparsers):
......
......@@ -2,8 +2,6 @@
Remove one or more archives.
"""
from contextlib import ExitStack
# TODO: Delete directories or glob patterns
from pycdstar3 import ApiError
......@@ -16,7 +14,7 @@ def register(subparsers):
"-f",
"--force",
action="store_true",
help="Do not prompt and ignore missing archives" " or access errors.",
help="Do not prompt and ignore missing archives or access errors.",
)
parser.add_argument("-y", "--yes", action="store_true", help="Do not prompt")
parser.add_argument(
......
Markdown is supported
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