2012-06-13 08:49:25

by Liu Bo

[permalink] [raw]
Subject: [PATCH v2] E2fsprogs: add missing usage for No_COW

Add the missing usage for No_COW since we've supported No_COW flag.

Signed-off-by: Liu Bo <[email protected]>
---
v1->v2: sort options alphabetically, thanks to Roman Mamedov.

misc/chattr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/chattr.c b/misc/chattr.c
index 141ea6e..24254cc 100644
--- a/misc/chattr.c
+++ b/misc/chattr.c
@@ -83,7 +83,7 @@ static unsigned long sf;
static void usage(void)
{
fprintf(stderr,
- _("Usage: %s [-RVf] [-+=AacDdeijsSu] [-v version] files...\n"),
+ _("Usage: %s [-RVf] [-+=AaCcDdeijsSu] [-v version] files...\n"),
program_name);
exit(1);
}
--
1.6.5.2



2012-06-13 19:44:55

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH v2] E2fsprogs: add missing usage for No_COW

On Wed, Jun 13, 2012 at 04:56:42PM +0800, Liu Bo wrote:
> Add the missing usage for No_COW since we've supported No_COW flag.
>
> Signed-off-by: Liu Bo <[email protected]>

Applied, although I changed the commit desciption to read:

chattr: add the -C option to the usage message

- Ted