-
jtgrassie
Can we get #6127 reverted?
-
jtgrassie
It seems to have snuck in with little to no discussion and is
-
jtgrassie
dubious it adds any benefit at all. If anything, it will simply frustrate existing and new users.
-
jtgrassie
Would seem to me the best course of action would be to get it reverted, have some discussion around it and propose any changes based on the percieved need.
-
jtgrassie
Thoughts?
-
selsta
I think the idea general idea is not bad. Running help and seeing 100+ commands can be difficult for new users.
-
jtgrassie
I'd argue a CLI user is used to seeing long-form help. That aside, we both agree it breaks the existing easy-to-use help.
-
selsta
there are some issues with it, yes
-
jtgrassie
honestly I would have expected some discussion around the PR before merging.
-
selsta
It was open for 3 months or so.
-
jtgrassie
I've been away so not been checking, but I hear you. I'm suprised nobody raised an issue until now.
-
selsta
I would be ok with reverting it for now but there are some follow ups PRs that would have to be also reverted.
-
jtgrassie
Thant's frustrating if there is other merged code that will conflict.
-
jtgrassie
I do feel quite strongly it ruins our help though.
-
selsta
-
selsta
not sure if more
-
jtgrassie
grrr
-
jtgrassie
It is nonsense though. It's hardly "advanced" to need to quickly look up the parameters to a command.
-
selsta
help_all would have been a better name IMO
-
jtgrassie
help should be all and dumbed down into help could have been first-use/splash.
-
jtgrassie
s/into/intro/
-
selsta
that would be also ok
-
jtgrassie
if you read what's in the dumbed-down new copy, it's near useless in any case.
-
jtgrassie
"save" and "refresh" are legacy and not needed.
-
jtgrassie
"transfer" misses priority.
-
jtgrassie
"sweep_all" encourages churning, which can be harmful.
-
jtgrassie
It's a terrible change to have got in.
-
jtgrassie
It doesn't even document how to get the details of the commands.
-
selsta
could you open a PR that reverts it?
-
jtgrassie
I was thinking about that but wanted others to weigh in and/or justify why it was merged.
-
jtgrassie
And if a revert PR was the favored approach.
-
selsta
The reason I want to revert is that it is not implemented for the daemon so help and help_advanced display the same thing
-
selsta
making the `Use the "help" command to see a simplified list of available commands.` message useless
-
jtgrassie
I didn't even catch that it only applies to wallet. Another reason to add to the list of why it's a bad change.
-
jtgrassie
"help" should definitely function the same in wallet and daemon.
-
selsta
Yes, I would revert it and then someone can try to add a `guide` or `intro` command for new users.
-
gingeropolous
i dunno. a lot of open source software I use has "help" provide a quickstart, and then there's a command in help to show more advanced options
-
gingeropolous
well not even open source, but command line stuff
-
gingeropolous
i mean, help should be helpful. Not "here's 90000 commands, good luck!"
-
gingeropolous
but i agree it should be the same in daemon and wallet
-
asymptotically
we can create a gnu info manual that nobody will read!
-
moneromooo
I kinda like having a succint overall help giving you common commands to do the basics.
-
moneromooo
"priority" is omitted because most people don't care.
-
moneromooo
Is the problem that one has to type an extra "_advanced" for the full help ?
-
moneromooo
(maybe _<TAB> might be enough)
-
rbrunner
My little grief is that I have to type the long "help_advanced" for every detailed help about a command I know already how it is called, instead of simply "help <command>" like in the good old times
-
rbrunner
(Maybe already mentioned, looks like my log is incomplete, with gingeropolous out of the blue starting to mention help ...)
-
rbrunner
Nothing against simply "help" being short and tidy now
-
moneromooo
Then it seems best to make "help foo" give the whole help, without removing the short blurb for "help", no ?
-
rbrunner
Yes. As I proposed here:
monero-project/monero #6494 Was gingeropolous referring to this, maybe?
-
rbrunner
I collected already 5 thumbs up emoji with this :)
-
rbrunner
If nobody shows up in the next few days and shouts "nonsense" or "heresy" I probably will make a PR
-
rbrunner
Or two, one for the CLI wallet, and one for the daemon
-
moneromooo
Sounds good if jtgrassie's happy with it, thanks.
-
hyc
help_advanced seems like a massive step backwards in UX
-
hyc
I might have endorsed a patch that paginates long outputs. Like gdb does.
-
hyc
note that even gdb lets you set pagination=off if you don't want that feature
-
scoobybejesus
i think if it paged the help file like `less`, it would be fine to keep long
-
moneromooo
Then maybe just rename help to help_basic and help_advanced to help ?
-
jtgrassie
I think that would be acceptable (as it would revert to the working help)
-
jtgrassie
The commands documented in this abbrev help is still questionable.
-
moneromooo
help --type=<verbose|advanced|basic> --pager=<more|less>
-
jtgrassie
A lot of the help could be condensed by moving commands like "save" (which are really not needed) to maybe a 'legacy' section. The fact "save" and "refresh" are in this stripped down basic help just emphasizes how useless it is now.
-
hyc
giving flags to help is kinda dicy. you would then need "help help" to be a valid command, to explain how to use the help command.
-
jtgrassie
agreed.
-
jtgrassie
--pager would be a launch/conf option
-
scoobybejesus
default pager being `less` would be nice though :)
-
hyc
'less' has an undesirable effect in current GUI terminals though. It issues the altscreen terminal command for its output, and reverts back ot mainscreen when you stop it.
-
hyc
current terminals erase the display when toggling back from altscreen to mainscreen
-
hyc
so whatever you were reading disappears.
-
hyc
'more' is more friendly here because it keeps all text on the mainscreen
-
moneromooo
I was being jokacious -_-
-
hyc
and really, there's no reason to shell out to an external pager
-
hyc
-
moneromooo
FWIW, if we were to page, I'd use an external pager.
-
moneromooo
Gives you search, page up, all that jazz.
-
hyc
yeah, would be perfectly fine if the damn terminal emulators had correct emulation
-
hyc
as it is, the only usable one nowadays is original Xterm
-
fluffypony
less is more
-
fluffypony
:-P
-
moneromooo
more or less.
-
gingeropolous
back my day, monero help output fit on 12 lines
-
gingeropolous
and i could bootstrap a daemon in a tidepool