aboutsummaryrefslogtreecommitdiff
path: root/toys/other/lsattr.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-10-22 18:15:09 -0500
committerRob Landley <rob@landley.net>2016-10-22 18:15:09 -0500
commit57b9031d354acbe9b222631954ae8c40e4bdd299 (patch)
tree8bbe109ea1263123599d42b5d0f2e54cc94b72ef /toys/other/lsattr.c
parentb27d5d9ad0c56014d8661d91f69ee498bbbe4cf9 (diff)
downloadtoybox-57b9031d354acbe9b222631954ae8c40e4bdd299.tar.gz
Tweak help text.
Diffstat (limited to 'toys/other/lsattr.c')
-rw-r--r--toys/other/lsattr.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/toys/other/lsattr.c b/toys/other/lsattr.c
index ceb14bdf..8b91ef78 100644
--- a/toys/other/lsattr.c
+++ b/toys/other/lsattr.c
@@ -4,6 +4,8 @@
* Copyright 2013 Kyungwan Han <asura321@gmail.com>
*
* No Standard.
+ *
+ * TODO cleanup
USE_LSATTR(NEWTOY(lsattr, "vldaR", TOYFLAG_BIN))
USE_CHATTR(NEWTOY(chattr, NULL, TOYFLAG_BIN))
@@ -15,6 +17,7 @@ config LSATTR
usage: lsattr [-Radlv] [Files...]
List file attributes on a Linux second extended file system.
+ (AacDdijsStu defined in chattr --help)
-R Recursively list attributes of directories and their contents.
-a List all files in directories, including files that start with '.'.
@@ -30,6 +33,9 @@ config CHATTR
Change file attributes on a Linux second extended file system.
+ -R Recurse.
+ -v Set the file's version/generation number.
+
Operators:
'-' Remove attributes.
'+' Add attributes.
@@ -47,9 +53,6 @@ config CHATTR
S Write file contents synchronously.
t Disable tail-merging of partial blocks with other files.
u Allow file to be undeleted.
- -R Recurse.
- -v Set the file's version/generation number.
-
*/
#define FOR_lsattr
#include "toys.h"