Skip to content

Table headers fix #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dsc/locales/en-us.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ noManifest = "Resource does not have a manifest"
tableHeader_type = "Type"
tableHeader_kind = "Kind"
tableHeader_version = "Version"
tableheader_capabilities = "Capabilities"
tableHeader_capabilities = "Capabilities"
tableHeader_adapter = "RequireAdapter"
tableHeader_description = "Description"
invalidManifest = "Error in manifest for"
Expand Down
10 changes: 5 additions & 5 deletions dsc/src/subcommand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,11 +578,11 @@ fn list_resources(dsc: &mut DscManager, resource_name: Option<&String>, adapter_
let mut write_table = false;
let mut table = Table::new(&[
t!("subcommand.tableHeader_type").to_string().as_ref(),
t!("subcommand.tableheader_kind").to_string().as_ref(),
t!("subcommand.tableheader_version").to_string().as_ref(),
t!("subcommand.tableheader_capabilities").to_string().as_ref(),
t!("subcommand.tableheader_adapter").to_string().as_ref(),
t!("subcommand.tableheader_description").to_string().as_ref(),
t!("subcommand.tableHeader_kind").to_string().as_ref(),
t!("subcommand.tableHeader_version").to_string().as_ref(),
t!("subcommand.tableHeader_capabilities").to_string().as_ref(),
t!("subcommand.tableHeader_adapter").to_string().as_ref(),
t!("subcommand.tableHeader_description").to_string().as_ref(),
]);
if format.is_none() && io::stdout().is_terminal() {
// write as table if format is not specified and interactive
Expand Down
Loading