diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index 8316c4368..ca8810650 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -673,17 +673,27 @@ | |||
673 | #define date_full_usage "\n\n" \ | 673 | #define date_full_usage "\n\n" \ |
674 | "Display time (using +FMT), or set time\n" \ | 674 | "Display time (using +FMT), or set time\n" \ |
675 | "\nOptions:" \ | 675 | "\nOptions:" \ |
676 | IF_NOT_LONG_OPTS( \ | ||
676 | "\n [-s] TIME Set time to TIME" \ | 677 | "\n [-s] TIME Set time to TIME" \ |
677 | "\n -u Work in UTC (don't convert to local time)" \ | 678 | "\n -u Work in UTC (don't convert to local time)" \ |
678 | "\n -R Output RFC-822 compliant date string" \ | 679 | "\n -R Output RFC-2822 compliant date string" \ |
680 | ) IF_LONG_OPTS( \ | ||
681 | "\n [-s,--set] TIME Set time to TIME" \ | ||
682 | "\n -u,--utc Work in UTC (don't convert to local time)" \ | ||
683 | "\n -R,--rfc-2822 Output RFC-2822 compliant date string" \ | ||
684 | ) \ | ||
679 | IF_FEATURE_DATE_ISOFMT( \ | 685 | IF_FEATURE_DATE_ISOFMT( \ |
680 | "\n -I[SPEC] Output ISO-8601 compliant date string" \ | 686 | "\n -I[SPEC] Output ISO-8601 compliant date string" \ |
681 | "\n SPEC='date' (default) for date only," \ | 687 | "\n SPEC='date' (default) for date only," \ |
682 | "\n 'hours', 'minutes', or 'seconds' for date and" \ | 688 | "\n 'hours', 'minutes', or 'seconds' for date and" \ |
683 | "\n time to the indicated precision" \ | 689 | "\n time to the indicated precision" \ |
684 | ) \ | 690 | ) IF_NOT_LONG_OPTS( \ |
685 | "\n -r FILE Display last modification time of FILE" \ | 691 | "\n -r FILE Display last modification time of FILE" \ |
686 | "\n -d TIME Display TIME, not 'now'" \ | 692 | "\n -d TIME Display TIME, not 'now'" \ |
693 | ) IF_LONG_OPTS( \ | ||
694 | "\n -r,--reference FILE Display last modification time of FILE" \ | ||
695 | "\n -d,--date TIME Display TIME, not 'now'" \ | ||
696 | ) \ | ||
687 | IF_FEATURE_DATE_ISOFMT( \ | 697 | IF_FEATURE_DATE_ISOFMT( \ |
688 | "\n -D FMT Use FMT for -d TIME conversion" \ | 698 | "\n -D FMT Use FMT for -d TIME conversion" \ |
689 | ) \ | 699 | ) \ |