Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nohup --help doesn't work #401

Closed
MINZHA opened this issue Dec 6, 2022 · 5 comments
Closed

nohup --help doesn't work #401

MINZHA opened this issue Dec 6, 2022 · 5 comments

Comments

@MINZHA
Copy link

MINZHA commented Dec 6, 2022

$ sha1sum toybox-i686
2d735feafb2afc1127180a87bb27aac34c154e55  toybox-i686
$ ./toybox-i686 --help
Toybox 0.8.8 multicall binary (see https://landley.net/toybox)

usage: toybox [--long | --help | --version | [COMMAND] [ARGUMENTS...]]

With no arguments, "toybox" shows available COMMAND names. Add --long
to include suggested install path for each command, see
https://landley.net/toybox/faq.html#install for details.

First argument is name of a COMMAND to run, followed by any ARGUMENTS
to that command. Most toybox commands also understand:

--help		Show command help (only)
--version	Show toybox version (only)

The filename "-" means stdin/stdout, and "--" stops argument parsing.

Numerical arguments accept a single letter suffix for
kilo, mega, giga, tera, peta, and exabytes, plus an additional
"d" to indicate decimal 1000's instead of 1024.

Durations can be decimal fractions and accept minute ("m"), hour ("h"),
or day ("d") suffixes (so 0.1m = 6s).
$ ./toybox-i686 nohup
nohup: Needs 1 argument (see "nohup --help")
$ ./toybox-i686 nohup --help
nohup: exec --help: No such file or directory
$ 
@MINZHA MINZHA changed the title nohup --help dpesm nohup --help doesn't work Dec 6, 2022
@MINZHA MINZHA changed the title nohup --help doesn't work nohup --help doesn't work Dec 6, 2022
@landley
Copy link
Owner

landley commented Dec 6, 2022

Hmmm, looks like printf and chroot would also have that problem: anything with ^ but no flags in the argument string, so stopearly gets incremented twice before the loop starts in lib/args.c...

@landley
Copy link
Owner

landley commented Dec 7, 2022

FYI commit 42ce627 back in April is what broke this, but that fixed another bug so I can't just back it out. Needs a little design work...

@landley
Copy link
Owner

landley commented Dec 7, 2022

No it doesn't.

commit 481a19c

@landley
Copy link
Owner

landley commented Dec 29, 2022

Did that fix it?

@landley
Copy link
Owner

landley commented Jan 8, 2023

In the absence of a reply, I'm assuming that fixed it.

@landley landley closed this as completed Jan 8, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants