Kurtis Rader
af22bf3501
style cleanups (make style-all)
2017-06-16 21:01:57 -07:00
Kurtis Rader
d22743dad0
change help only cmd opts interface
2017-06-16 21:01:57 -07:00
Kurtis Rader
37b8cfaeba
avoid struct name clashes
...
Running the tests on travis revealed that some compilers (or at least
with some options) call the wrong struct constructor if there is more
than one struct with the same name but differing definitions.
2017-06-16 21:01:57 -07:00
Kurtis Rader
a114492223
more builtin refactoring
2017-06-16 21:01:57 -07:00
Kurtis Rader
69e823d612
customize some oclint thresholds
2017-06-16 21:01:57 -07:00
Kurtis Rader
d910b7af7d
fix some lint warnings
2017-06-16 21:01:57 -07:00
Kurtis Rader
ffdabace5e
more builtin style cleanup
2017-06-16 21:01:57 -07:00
Kurtis Rader
b480b117a9
split builtin realpath into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
a665d532c3
split builtin exit into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
b530d175e7
split builtin return into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
422b1bd066
split builtin bg into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
79e74d0ebb
split builtin fg into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
070d204d9b
split builtin pwd into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
175570b7ed
lint cleanup
2017-06-16 21:01:56 -07:00
Kurtis Rader
a1744b5822
run make depend
2017-06-16 21:01:56 -07:00
Kurtis Rader
a6d6ded9a5
split builtin contains into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
bda6426bf7
split builtin builtin into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
551bd39889
split builtin command into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
fded427c6a
split builtin cd into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
7840d53ecf
split builtin source into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
52709e8051
split builtin disown into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
1d4a0fb091
split builtin echo into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
59e90123ea
change naming convention for parsing opts
2017-06-16 21:01:56 -07:00
Kurtis Rader
044f5512e2
split builtin function into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
1c91ec9dfa
split builtin random into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
e7f87c08e1
split builtin status and read into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
ef8a0c93ea
split builtin history into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
2079b4292e
fix minor bug introduced by previous refactoring
2017-06-16 21:01:56 -07:00
Kurtis Rader
00ed221b5a
split builtin functions into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
1b9824ae46
split builtin emit into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
b20ffca3e2
split builtin block into its own module
2017-06-16 21:01:56 -07:00
Kurtis Rader
7a6a766e0a
remove dead code
...
Remove code for the `__fish_parse` builin that has been commented out
for three years. Add a call to `parse_dump_tree()` to fish_indent.
2017-06-16 21:01:56 -07:00
Kurtis Rader
a6227f6c3a
split builtin bind into its own module
...
As part of putting the `bind` command code into its own module refactor
how it parses its flags.
2017-06-16 21:01:56 -07:00
Kurtis Rader
ed6c8a95d7
improve debugger documentation
...
Fixes #4125
2017-06-15 16:53:56 -07:00
rolag
ac2c38735d
Add max_line_length to .editorconfig
2017-06-16 01:32:55 +02:00
Fabian Homborg
cec2999983
Allow help
to open the tutorial
...
This is unambiguous because all the anchors in tutorial.html begin
with "tut".
2017-06-14 13:52:24 +02:00
Fabian Homborg
82359ceb22
Update help completions
...
- More topics
- Some non-existent topics (todo/bugs) removed
- Some rewording (no more "Help on")
2017-06-14 13:40:14 +02:00
Clément Martinez
be1d32cade
Add grub-install completions
2017-06-14 12:41:38 +02:00
Clément Martinez
a69537ea13
Add grub-file completions
2017-06-14 12:41:38 +02:00
Kurtis Rader
59a2e1bcbc
refactor string
flag parsing
...
Hoist the code for parsing flags out of each individual subcommand and
into a function shared by all the subcommands. This reduces duplication
and potential for error. More importantly it makes the code that
actually implements the subcommand more prominent.
2017-06-11 20:29:11 -07:00
Kurtis Rader
d71c4d129c
customize some oclint thresholds
...
Allow functions to be slightly longer than oclint thinks is appropriate
by default.
2017-06-11 17:14:02 -07:00
Kurtis Rader
955ae76cb3
minor fix to string
man page
2017-06-11 11:59:36 -07:00
Fabian Homborg
65b80da60b
tutorial: Mention combiners in conditionals section
...
See #4116 .
2017-06-11 13:58:43 +02:00
Fabian Homborg
7bdcbc1775
tutorial: Add section on the semicolon
...
See #4116 .
2017-06-11 13:58:39 +02:00
Kurtis Rader
f6c9bfc0e8
implement string lower
and string upper
...
Fixes #4080
2017-06-10 17:35:25 -07:00
Kurtis Rader
5e94650645
more wgetopt cleanup
2017-06-10 12:30:36 -07:00
Kurtis Rader
cbae738882
don't use wgetopt_long_only()
...
Fixes #4114
2017-06-10 12:30:36 -07:00
Kurtis Rader
75e9c863f6
normalize flag parsing
2017-06-10 12:30:36 -07:00
Dale Eidd
2b4f61f294
Fix echo "no wildcard match" complaints for ssh completions etc
2017-06-10 14:06:20 +02:00
Dale Eidd
5b3904e66b
Fix not including main ssh config in host names search
2017-06-10 14:06:20 +02:00