mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
__fish_parse_configure: Move some comments
This contained a commented-out `eval`, which drew my attention.
This commit is contained in:
parent
3c6844d4f4
commit
162af88c9a
1 changed files with 6 additions and 7 deletions
|
@ -10,17 +10,16 @@ function __fish_parse_configure
|
|||
return 1
|
||||
end
|
||||
|
||||
# Must support output along the lines of
|
||||
# -h, --help display this help and exit
|
||||
# --help=short display options specific to this package
|
||||
# --help=recursive display the short help of all the included packages
|
||||
# -V, --version display version information and exit
|
||||
# -q, --quiet, --silent do not print `checking ...' messages
|
||||
# Must support output along the lines of
|
||||
# -h, --help display this help and exit
|
||||
# --help=short display options specific to this package
|
||||
# --help=recursive display the short help of all the included packages
|
||||
# -V, --version display version information and exit
|
||||
# -q, --quiet, --silent do not print `checking ...' messages
|
||||
|
||||
set -l next_line
|
||||
set -l line
|
||||
set -l buffer
|
||||
# eval $argv[1] --help 2>/dev/null |
|
||||
# Just fish's `./configure --help` takes ~350ms to run, before parsing
|
||||
# The following chain attempts to extract the help message:
|
||||
cat $argv[1] | tr \n \u0e | sed -n 's/.*Report the --help message\(.*\?\)ac_status.*/\1/; s/ac_status.*//p' | tr \u0e \n |
|
||||
|
|
Loading…
Reference in a new issue