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

touch: move help strings to markdown file #4581

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

piotrkwiecinski
Copy link
Contributor

#4368

touch --help outputs the following:

target/debug/touch --help
Update the access and modification times of each `FILE` to the current time.

Usage: target/debug/touch [OPTION]... [USER]

Arguments:
  [files]...  

Options:
      --help              Print help information.
  -a                      change only the access time
  -t <STAMP>              use [[CC]YY]MMDDhhmm[.ss] instead of the current time
  -d, --date <STRING>     parse argument and use it instead of current time
  -m                      change only the modification time
  -c, --no-create         do not create any files
  -h, --no-dereference    affect each symbolic link instead of any referenced file (only for systems that can change the timestamps of a symlink)
  -r, --reference <FILE>  use this file's times instead of the current time
      --time <WORD>       change only the specified time: "access", "atime", or "use" are equivalent to -a; "modify" or "mtime" are equivalent to -m [possible values: access, atime, use]
  -V, --version           Print version

@cakebaker cakebaker merged commit 6970da3 into uutils:main Mar 23, 2023
@cakebaker
Copy link
Contributor

Thanks!

@piotrkwiecinski piotrkwiecinski deleted the touch-move-string-to-md-file branch March 26, 2023 12:08
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

Successfully merging this pull request may close these issues.

2 participants