summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Fox2006-01-13 21:05:41 +0000
committerPaul Fox2006-01-13 21:05:41 +0000
commit72d1a2357d2168f241458e4d6cebb7589ac82f4f (patch)
treef3152b7eb88a52763740683d918e61aacbb9ade9 /include
parent4a1865ca5eaf6bebc76ef8066c19e95df0edc7c3 (diff)
downloadbusybox-72d1a2357d2168f241458e4d6cebb7589ac82f4f.zip
busybox-72d1a2357d2168f241458e4d6cebb7589ac82f4f.tar.gz
add find's "-mmin" option. configurable.
Diffstat (limited to 'include')
-rw-r--r--include/usage.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 9387238..81f0e1d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -722,6 +722,11 @@
#else
# define USAGE_FIND_MTIME(a)
#endif
+#ifdef CONFIG_FEATURE_FIND_MMIN
+ #define USAGE_FIND_MMIN(a) a
+#else
+ #define USAGE_FIND_MMIN(a)
+#endif
#ifdef CONFIG_FEATURE_FIND_NEWER
# define USAGE_FIND_NEWER(a) a
#else
@@ -752,7 +757,9 @@
) USAGE_FIND_PERM( \
"\n\t-perm PERMS\tPermissions match any of (+NNN); all of (-NNN);\n\t\t\tor exactly (NNN)" \
) USAGE_FIND_MTIME( \
- "\n\t-mtime TIME\tModified time is greater than (+N); less than (-N);\n\t\t\tor exactly (N) days" \
+ "\n\t-mtime DAYS\tModified time is greater than (+N); less than (-N);\n\t\t\tor exactly (N) days" \
+) USAGE_FIND_MMIN( \
+ "\n\t-mmin MINS\tModified time is greater than (+N); less than (-N);\n\t\t\tor exactly (N) minutes" \
) USAGE_FIND_NEWER( \
"\n\t-newer FILE\tModified time is more recent than FILE's" \
) USAGE_FIND_INUM( \