diff --git a/censys/cli/commands/asm.py b/censys/cli/commands/asm.py index 548113c4..0dd94d5b 100644 --- a/censys/cli/commands/asm.py +++ b/censys/cli/commands/asm.py @@ -896,13 +896,15 @@ def add_verbose(parser): execute_saved_query_by_name_parser.add_argument( "--sort", help="Sort order for results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_name_parser.add_argument( "--fields", help="Fields to include in results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_name_parser.add_argument( @@ -937,13 +939,15 @@ def add_verbose(parser): execute_saved_query_by_id_parser.add_argument( "--sort", help="Sort order for results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_id_parser.add_argument( "--fields", help="Fields to include in results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_id_parser.add_argument( @@ -982,13 +986,15 @@ def add_verbose(parser): search_parser.add_argument( "--sort", help="Sort order for results", - type=List[str], + type=str, + nargs="+", default=[], ) search_parser.add_argument( "--fields", help="Fields to include in results", - type=List[str], + type=str, + nargs="+", default=[], ) search_parser.add_argument( diff --git a/pyproject.toml b/pyproject.toml index ace7257c..1bf2e4d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "censys" -version = "2.2.18" +version = "2.2.19" description = "An easy-to-use and lightweight API wrapper for Censys APIs (censys.io)." authors = ["Censys, Inc. "] license = "Apache-2.0"