Skip to content

Commit ddaa6f5

Browse files
authored
Update some fish-sourced generated completion files (#1102)
Run `build-completions-from-pwd` from fish-shell completions Through needs-update/custom-completions/auto-generate/parse-fish.nu with https://github.com/fish-shell/fish-shell share/completions/ 9d904e111345a64eb4ff05ecd8d7737f22cfc762 Selective on which files to take over for reviewability and certain improvements
1 parent 43ac47a commit ddaa6f5

35 files changed

+426
-30
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Show usage
22
extern "abook" [
3-
3+
--add-email # Read email message from stdin and add the sender
4+
--add-email-quiet # Same as --add-email. Without confirmation
5+
--convert # Convert address book files
6+
--informat # Input file format
7+
--outformat # Output file format
8+
--formats # Print available formats
49
...args
510
]

custom-completions/auto-generate/completions/acpi.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extern "acpi" [
99
--everything(-V) # Show every device, overrides above options
1010
--show-empty(-s) # Show non-operational devices
1111
--hide-empty(-S) # Hide non-operational devices
12-
--celcius(-c) # Use celsius as the temperature unit
12+
--cooling(-c) # Show cooling device information
1313
--fahrenheit(-f) # Use fahrenheit as the temperature unit
1414
--kelvin(-k) # Use kelvin as the temperature unit
1515
--directory(-d) # <dir> path to ACPI info (/proc/acpi)
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#
22
extern "amixer" [
3-
3+
--help(-h) # this help
4+
--debug(-d) # debug mode
5+
--nocheck(-n) # do not perform range checking
6+
--version(-v) # print version of this program
7+
--quiet(-q) # be quiet
8+
--inactive(-i) # show also inactive controls
9+
--abstract(-a) # select abstraction level
10+
--stdin(-s) # Read and execute commands from stdin sequentially
411
...args
512
]
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
#
22
extern "apt" [
3-
3+
--no-install-recommends # Do not install recommended packages
4+
--no-install-suggests # Do not install suggested packages
5+
--download-only(-d) # Download Only
6+
--fix-broken(-f) # Correct broken dependencies
7+
--fix-missing(-m) # Ignore missing packages
8+
--no-download # Disable downloading packages
9+
--quiet(-q) # Quiet mode
10+
--no-act(-s) # Perform a simulation
11+
--assume-yes(-y) # Automatic yes to prompts
12+
--assume-no # Automatic no to prompts
13+
--install-recommends # Install recommended packages
14+
--install-suggests # Install suggested packages
15+
--with-new-pkgs
16+
--help(-h) # Display help
17+
--version(-v) # Display version and exit
418
...args
519
]
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Display help and exit
22
extern "builtin" [
3-
3+
--help(-h) # Display help and exit
4+
--names(-n) # Print names of all existing builtins
5+
--query(-q) # Tests if builtin exists
46
...args
57
]
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
#
22
extern "busctl" [
3-
3+
--quiet # Suppress message payload display
4+
--verbose
5+
--list # Show a flat list instead of a tree
6+
--unique # Only show unique (:X.Y) names
7+
--acquired # Only show well-known names
8+
--activatable # Only show peers that have not been activated yet but can be
9+
--show-machine # Show the machine the peers belong to
10+
--user
11+
--system
12+
--no-pager
13+
--no-legend
14+
--help(-h)
15+
--version
416
...args
517
]
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Show Help
22
extern "canto" [
3-
3+
--help(-h) # Show Help
4+
--version(-v) # Show version
5+
--update(-u) # Update before running
6+
--list(-l) # List feeds
7+
--checkall(-a) # Show number of new items
8+
--checknew(-n) # Show number of new items for feed
9+
--opml(-o) # Print conf as OPML
10+
--import(-i) # Import from OPML
11+
--url(-r) # Add feed
12+
--dir(-D) # Set configuration directory
13+
--conf(-C) # Set configuration file
14+
--log(-L) # Set client log file
15+
--fdir(-F) # Set feed directory
16+
--sdir(-S) # Set script directory
417
...args
518
]
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Display help and exit
22
extern "command" [
3-
3+
--help(-h) # Display help and exit
4+
--all(-a) # Print all external commands by the given name
5+
--query(-q) # Do not print anything, only set exit status
6+
--search(-v) # Print the file that would be executed
47
...args
58
]

custom-completions/auto-generate/completions/conda.nu

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,16 @@
22
extern "conda" [
33
--help(-h) # Show help and exit
44
...args
5+
]
6+
7+
# Create a new environment
8+
extern "conda create" [
9+
--help(-h) # Show help and exit
10+
...args
11+
]
12+
13+
# List all conda environments
14+
extern "conda list" [
15+
--help(-h) # Show help and exit
16+
...args
517
]

custom-completions/auto-generate/completions/diff.nu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ extern "diff" [
1010
--text(-a) # Treat all files as text
1111
--recursive(-r) # Recursively compare subdirectories
1212
--new-file(-N) # Treat absent files as empty
13+
--unified(-u) # Output NUM lines of unified context (default 3)
1314
--brief(-q) # Output only whether the files differ
1415
--normal # Output a normal diff
1516
--side-by-side(-y) # Output in two columns

0 commit comments

Comments
 (0)