From 3e03e68848a643d40dcb5778dfd5f18f5d238714 Mon Sep 17 00:00:00 2001 From: Stuart McAlpine Date: Tue, 29 Oct 2024 20:43:19 +0100 Subject: [PATCH] Remove % from help string --- src/dataregistry_cli/cli.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/dataregistry_cli/cli.py b/src/dataregistry_cli/cli.py index 034cfda..1775434 100644 --- a/src/dataregistry_cli/cli.py +++ b/src/dataregistry_cli/cli.py @@ -77,10 +77,16 @@ def get_parser(): help="List datasets for a given owner type", choices=["user", "group", "production", "project"], ) - arg_ls.add_argument("--name", help="Only return datasets with a given name (% can be used as a wildcard)") + arg_ls.add_argument( + "--name", help="Only return datasets with a given name (wildcard support)" + ) arg_ls.add_argument("--all", help="List all datasets", action="store_true") arg_ls.add_argument( - "--return_cols", help="List of columns to return in the query", nargs="+", type=str) + "--return_cols", + help="List of columns to return in the query", + nargs="+", + type=str, + ) arg_ls.add_argument( "--max_rows", help="Maximum number of rows to print (default 500)",