diff options
| author | zousar <[email protected]> | 2025-04-22 16:22:02 -0600 |
|---|---|---|
| committer | zousar <[email protected]> | 2025-04-22 16:22:02 -0600 |
| commit | 45e81401ecf98b035bb3b022af0e2de9f5cffccf (patch) | |
| tree | 45837da4de573f40fab71a5baa0101538b97b0c8 /src/zen/cmds/builds_cmd.cpp | |
| parent | Replace container with namespaces (diff) | |
| download | archived-zen-45e81401ecf98b035bb3b022af0e2de9f5cffccf.tar.xz archived-zen-45e81401ecf98b035bb3b022af0e2de9f5cffccf.zip | |
Replacing list-container with list-namespaces
Diffstat (limited to 'src/zen/cmds/builds_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index bdf349888..571050654 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -8906,13 +8906,13 @@ BuildsCommand::BuildsCommand() m_Options.add_option("", "v", "verb", - "Verb for build - list-container, list, upload, download, diff, fetch-blob, validate-part", + "Verb for build - list-namespaces, list, upload, download, diff, fetch-blob, validate-part", cxxopts::value(m_Verb), "<verb>"); m_Options.parse_positional({"verb"}); m_Options.positional_help("verb"); - // list-container + // list-namespaces AddSystemOptions(m_ListNamespacesOptions); AddCloudOptions(m_ListNamespacesOptions); AddFileOptions(m_ListNamespacesOptions); @@ -9228,7 +9228,7 @@ BuildsCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) { throw zen::OptionParseException(fmt::format("url is not compatible with the storage-path option\n{}", m_Options.help())); } - if (ToLower(m_Verb) != "list-container" && (m_Namespace.empty() || m_Bucket.empty())) + if (ToLower(m_Verb) != "list-namespaces" && (m_Namespace.empty() || m_Bucket.empty())) { throw zen::OptionParseException( fmt::format("namespace and bucket options are required for url option\n{}", m_Options.help())); |