EricFromCanada
e62137133e
docs: fix comment help output
2020-06-25 11:59:42 -04:00
Mike McQuaid
ca47992a6c
Fix rubocop-performance brew style.
2020-05-22 08:52:26 +01:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig.
2020-04-07 09:58:26 +01:00
Mike McQuaid
8a9dcad2c7
Move more command handling logic to commands.rb.
2020-02-02 17:05:45 +01:00
Mike McQuaid
eb87651341
Revert "Revert "help: print cli/parser help message if used""
2020-02-02 16:36:59 +01:00
Mike McQuaid
2082379a61
Revert "help: print cli/parser help message if used"
2020-02-02 09:11:23 +01:00
Mike McQuaid
b03efb4356
Move shared man/help logic to cli/parser.
2020-02-01 19:05:03 +01:00
Mike McQuaid
cd423a2755
help: tweak structure/formatting.
2020-02-01 19:04:16 +01:00
Dawid Dziurla
e9274b3827
help: print cli/parser help message if used
2020-01-26 18:33:13 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
EricFromCanada
560ccddb69
help: rewrap output to 80 columns
...
Accounts for paragraph breaks and option descriptions. Also fixes some help text nits.
2019-03-11 12:52:07 -04:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause.
2019-02-21 12:55:49 +00:00
Mike McQuaid
4ace1af297
help: improve command --help output.
2019-01-30 21:39:29 +00:00
EricFromCanada
6b8724431f
cli_parser: improve help text formatting
...
- reduce desc_line_length so `brew help` output fits in 80 columns
- support special formatting across line breaks
- support emphasis using asterisks
- add missing depends_on: tests
2018-10-12 13:38:14 -04:00
Gautham Goli
b5b988cbb1
help_spec: fix and generate help text in help.rb
2018-10-03 21:12:44 +05:30
Gautham Goli
7b0f27ca39
style: Fix style errors
2018-10-03 19:49:46 +05:30
Gautham Goli
604dfb4ae6
help: Let OptionParser generate help text for supported commands
2018-10-03 19:49:45 +05:30
Gautham Goli
df101dde84
Move --help handling of dev commands to help.rb
2018-10-03 19:20:26 +05:30
Andrew Janke
8b55cb5ecb
Refactor commands to remove "require cmd/help"
2018-06-07 04:59:59 -04:00