diff --git a/crates/nu-cli/src/commands/headers.rs b/crates/nu-cli/src/commands/headers.rs index 743d373044..295178f111 100644 --- a/crates/nu-cli/src/commands/headers.rs +++ b/crates/nu-cli/src/commands/headers.rs @@ -52,7 +52,7 @@ pub fn headers( } }).collect()) } - _ => Err(ShellError::untagged_runtime_error("Couldn't find all headers, was the input a properly formatted table?")), + _ => Err(ShellError::untagged_runtime_error("Couldn't find all headers, was the input a properly formatted, non-empty table?")), }?; //Each row is a dictionary with the headers as keys