Hofer-Julian 2023-10-20 18:43:42 +02:00 committed by GitHub
parent 7caf27b665
commit 878f0cf6e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ impl Command for Table {
vec![ vec![
Example { Example {
description: "List the files in current directory, with indexes starting from 1.", description: "List the files in current directory, with indexes starting from 1.",
example: r#"ls | table -n 1"#, example: r#"ls | table --start-number 1"#,
result: None, result: None,
}, },
Example { Example {

View File

@ -113,13 +113,13 @@ impl Command for Explore {
}, },
Example { Example {
description: "Explore a list of Markdown files' contents, with row indexes", description: "Explore a list of Markdown files' contents, with row indexes",
example: r#"glob *.md | each {|| open } | explore -i"#, example: r#"glob *.md | each {|| open } | explore --index"#,
result: None, result: None,
}, },
Example { Example {
description: description:
"Explore a JSON file, then save the last visited sub-structure to a file", "Explore a JSON file, then save the last visited sub-structure to a file",
example: r#"open file.json | explore -p | to json | save part.json"#, example: r#"open file.json | explore --peek | to json | save part.json"#,
result: None, result: None,
}, },
] ]