Skip to content

Commit 0ca273f

Browse files
committed
Manually fix up generated completions with syntax errors
1 parent 42052a5 commit 0ca273f

File tree

7 files changed

+98
-125
lines changed

7 files changed

+98
-125
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extern "darcs" [
5858
--unified(-u) # Output changes in a darcs-specific format similar to diff -u
5959
--human-readable # Give human-readable output [DEFAULT]
6060
--machine-readable # Give machine-readable output
61-
--look-for-adds(--l) # Look for (non-boring) files that could be added
61+
--look-for-adds # Look for (non-boring) files that could be added
6262
--look-for-replaces # Look for replaces that could be marked
6363
--look-for-moves # Look for files that may be moved/renamed
6464
--myers # Use myers diff algorithm

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,6 @@ extern "gcc no pad regroup_exact" [
7676
...args
7777
]
7878

79-
#
80-
extern "gcc medlow\t"Medium/Low code model: 64-bit addresses, programs must be linked in the low 32 bits of memory" [
81-
--help # Print help
82-
--target-help # Print a description of target specific options for each tool
83-
--version # Display the version number and copyrights
84-
--coverage # Used to compile and link code instrumented for coverage analysis
85-
--param # In some places, GCC uses various constants to control the amount of optimization that is done
86-
--help # Print text describing all the command line options instead of preprocessing anything
87-
--target-help # Print text describing all the command line options instead of preprocessing anything
88-
--version # Print out GNU CPP’s version number
89-
...args
90-
]
91-
9279
# Set the default ELF image symbol visibility
9380
extern "gcc default internal hidden protected" [
9481
--help # Print help

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

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,78 @@
1-
# Program section
2-
extern "1" [
1+
[# Program section
2+
extern " 1" [
33

44
...args
55
]
6-
76
# Syscall section
8-
extern "2" [
7+
extern " 2" [
98

109
...args
1110
]
12-
1311
# Library section
14-
extern "3" [
12+
extern " 3" [
1513

1614
...args
1715
]
18-
1916
# Device section
20-
extern "4" [
17+
extern " 4" [
2118

2219
...args
2320
]
24-
2521
# File format section
26-
extern "5" [
22+
extern " 5" [
2723

2824
...args
2925
]
30-
3126
# Games section
32-
extern "6" [
27+
extern " 6" [
3328

3429
...args
3530
]
36-
3731
# Misc section
38-
extern "7" [
32+
extern " 7" [
3933

4034
...args
4135
]
42-
4336
# Admin section
44-
extern "8" [
37+
extern " 8" [
4538

4639
...args
4740
]
48-
4941
# Kernel section
50-
extern "9" [
42+
extern " 9" [
5143

5244
...args
5345
]
54-
5546
# Tcl section
56-
extern "tcl" [
47+
extern " tcl" [
5748

5849
...args
5950
]
60-
6151
# New section
62-
extern "n" [
52+
extern " n" [
6353

6454
...args
6555
]
66-
6756
# Local section
68-
extern "l" [
57+
extern " l" [
6958

7059
...args
7160
]
72-
7361
#
74-
extern "p" [
62+
extern " p" [
7563

7664
...args
7765
]
78-
7966
# Old section
80-
extern "o" [
67+
extern " o" [
8168

8269
...args
8370
]
84-
8571
# Configuration file
8672
extern "" [
8773

8874
...args
89-
]
75+
]]
9076

9177
# Display all matches
9278
extern "man" [

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extern "mdadm" [
4040
--detail-platform # Print details on platform capabilities
4141
--export(-Y) # Format data output as key=value pairs
4242
--examine(-E) # Print content of device metadata
43-
--sparc2.2 # Fix examination for buggy SPARC 2.2 kernel RAID
43+
#--sparc2.2 # Fix examination for buggy SPARC 2.2 kernel RAID
4444
--examine-bitmap(-X) # Print report about bitmap
4545
--examine-badblocks # List recorded bad blocks
4646
--stop(-S) # Deactivate array

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ extern "meson" [
5050
--warnlevel # Compiler warning level to use
5151
--werror # Treat warnings as errors
5252
--wrap-mode # Wrap mode
53-
--pkgconfig.relocatable # Generate pkgconfig files as relocatable
54-
--python.install-env # Which python environment to install to
53+
#--pkgconfig.relocatable # Generate pkgconfig files as relocatable
54+
#--python.install-env # Which python environment to install to
5555
--vsenv # Force setup of Visual Studio environment
5656
--version(-v) # Show version number and exit
5757
--fatal-meson-warnings # Make all Meson warnings fatal

0 commit comments

Comments
 (0)