diff --git a/pbs-client/src/tools/mod.rs b/pbs-client/src/tools/mod.rs index 50e76a493..fa1d50925 100644 --- a/pbs-client/src/tools/mod.rs +++ b/pbs-client/src/tools/mod.rs @@ -297,7 +297,10 @@ pub async fn complete_server_file_name_do(param: &HashMap) -> Ve Ok(v) => v, _ => return result, }, - _ => return result, + _ => { + // If no namespace flag is provided, we assume the root namespace + pbs_api_types::BackupNamespace::root() + } }; let query = json_object_to_query(json!({