[Python-Dev] Re: The python command help is too long

2021-12-20 Thread Barry Warsaw
On Dec 20, 2021, at 12:22, Guido van Rossum wrote: > What do you think about -hh (and maybe —help-full) printing full help? > > Is there enough of a use case for this to bother? Maybe not. I’d say if it was easy to implement, why not, but if it’s a pain, don't bother. -Barry signature.asc

[Python-Dev] Re: The python command help is too long

2021-12-20 Thread Serhiy Storchaka
20.12.21 21:34, Guido van Rossum пише: > Fair enough. Quick design proposal: > >   -h and --help print info about flags (existing flags) >   --help-env (or --env-help?) prints info about env vars (new flag) >   -X help prints info about -X options (new -X option) > > Two lines printed at the end

[Python-Dev] Re: The python command help is too long

2021-12-20 Thread Guido van Rossum
On Mon, Dec 20, 2021 at 12:16 PM Barry Warsaw wrote: > On Dec 20, 2021, at 11:34, Guido van Rossum wrote: > > > > Fair enough. Quick design proposal: > > > > -h and --help print info about flags (existing flags) > > --help-env (or --env-help?) prints info about env vars (new flag) > > -X

[Python-Dev] Re: The python command help is too long

2021-12-20 Thread Barry Warsaw
On Dec 20, 2021, at 11:34, Guido van Rossum wrote: > > Fair enough. Quick design proposal: > > -h and --help print info about flags (existing flags) > --help-env (or --env-help?) prints info about env vars (new flag) > -X help prints info about -X options (new -X option) > > Two lines

[Python-Dev] Re: The python command help is too long

2021-12-20 Thread Guido van Rossum
On Mon, Dec 20, 2021 at 11:15 AM Brett Cannon wrote: > > > On Sat, Dec 18, 2021 at 4:00 PM Guido van Rossum wrote: > >> On Sat, Dec 18, 2021 at 2:16 PM Serhiy Storchaka >> wrote: >> >>> The output of "python -h" is 104 lines long now. It was only 51 lines in >>> 3.6. 35% of it is about the -X

[Python-Dev] Re: The python command help is too long

2021-12-20 Thread Brett Cannon
On Sat, Dec 18, 2021 at 4:00 PM Guido van Rossum wrote: > On Sat, Dec 18, 2021 at 2:16 PM Serhiy Storchaka > wrote: > >> The output of "python -h" is 104 lines long now. It was only 51 lines in >> 3.6. 35% of it is about the -X option, and 30% about environment >> variables. Also some lines in

[Python-Dev] Re: The python command help is too long

2021-12-18 Thread Guido van Rossum
On Sat, Dec 18, 2021 at 2:16 PM Serhiy Storchaka wrote: > The output of "python -h" is 104 lines long now. It was only 51 lines in > 3.6. 35% of it is about the -X option, and 30% about environment > variables. Also some lines in the -X option description are too long > (102 columns). Both