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

Make mktemp --tmpdir's argument optional #136

Closed
wants to merge 1 commit into from

Conversation

@E5ten
Copy link
Contributor

E5ten commented Aug 4, 2019

This matches GNU mktemp which has an optional argument for --tmpdir

This matches GNU mktemp which has an optional argument for --tmpdir
@landley

This comment has been minimized.

Copy link
Owner

landley commented Aug 4, 2019

Except it applies to both the short and longopt.

$ mktemp -p
mktemp: option requires an argument -- 'p'
Try 'mktemp --help' for more information.
$ ./mktemp -p
bash: ./mktemp: No such file or directory

@landley

This comment has been minimized.

Copy link
Owner

landley commented Sep 15, 2019

Ahem: that second one should obviously be:
$ ./mktemp -p
/tmp/tmp.XXXXqDjUXU

@E5ten E5ten closed this Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.