aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/usage.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index beb32fdc9..077306bdf 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -568,6 +568,16 @@
568#else 568#else
569 #define USAGE_FIND_MTIME(a) 569 #define USAGE_FIND_MTIME(a)
570#endif 570#endif
571#ifdef CONFIG_FEATURE_FIND_NEWER
572 #define USAGE_FIND_NEWER(a) a
573#else
574 #define USAGE_FIND_NEWER(a)
575#endif
576#ifdef CONFIG_FEATURE_FIND_INUM
577 #define USAGE_FIND_INUM(a) a
578#else
579 #define USAGE_FIND_INUM(a)
580#endif
571 581
572#define find_trivial_usage \ 582#define find_trivial_usage \
573 "[PATH...] [EXPRESSION]" 583 "[PATH...] [EXPRESSION]"
@@ -583,7 +593,11 @@
583) USAGE_FIND_PERM( \ 593) USAGE_FIND_PERM( \
584 "\n\t-perm PERMS\tPermissions match any of (+NNN); all of (-NNN);\n\t\t\tor exactly (NNN)" \ 594 "\n\t-perm PERMS\tPermissions match any of (+NNN); all of (-NNN);\n\t\t\tor exactly (NNN)" \
585) USAGE_FIND_MTIME( \ 595) USAGE_FIND_MTIME( \
586 "\n\t-mtime TIME\tModified time is greater than (+N); less than (-N);\n\t\t\tor exactly (N) days") 596 "\n\t-mtime TIME\tModified time is greater than (+N); less than (-N);\n\t\t\tor exactly (N) days" \
597) USAGE_FIND_NEWER( \
598 "\n\t-newer FILE\tModified time is more recent than FILE's" \
599) USAGE_FIND_INUM( \
600 "\n\t-inum N\t\tFile has inode number N")
587#define find_example_usage \ 601#define find_example_usage \
588 "$ find / -name /etc/passwd\n" \ 602 "$ find / -name /etc/passwd\n" \
589 "/etc/passwd\n" 603 "/etc/passwd\n"