xfs_quota: fix built-in help for project setup
diff mbox series

Message ID 8b7e8e8d-0297-caff-568e-c9d1e75eda63@redhat.com
State Accepted
Headers show
Series
  • xfs_quota: fix built-in help for project setup
Related show

Commit Message

Eric Sandeen June 24, 2019, 1:55 p.m. UTC
-s is used to set up a new project, not -c.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

Comments

Darrick J. Wong June 24, 2019, 2:45 p.m. UTC | #1
On Mon, Jun 24, 2019 at 08:55:38AM -0500, Eric Sandeen wrote:
> -s is used to set up a new project, not -c.
> 
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
> 
> diff --git a/quota/project.c b/quota/project.c
> index 7c22947..03ae10d 100644
> --- a/quota/project.c
> +++ b/quota/project.c
> @@ -43,7 +43,7 @@ project_help(void)
>  " and subdirectories below it (i.e. a tree) can be restricted to using a\n"
>  " subset of the available space in the filesystem.\n"
>  "\n"
> -" A managed tree must be setup initially using the -c option with a project.\n"
> +" A managed tree must be setup initially using the -s option with a project.\n"
>  " The specified project name or identifier is matched to one or more trees\n"
>  " defined in /etc/projects, and these trees are then recursively descended\n"
>  " to mark the affected inodes as being part of that tree - which sets inode\n"
>

Patch
diff mbox series

diff --git a/quota/project.c b/quota/project.c
index 7c22947..03ae10d 100644
--- a/quota/project.c
+++ b/quota/project.c
@@ -43,7 +43,7 @@  project_help(void)
 " and subdirectories below it (i.e. a tree) can be restricted to using a\n"
 " subset of the available space in the filesystem.\n"
 "\n"
-" A managed tree must be setup initially using the -c option with a project.\n"
+" A managed tree must be setup initially using the -s option with a project.\n"
 " The specified project name or identifier is matched to one or more trees\n"
 " defined in /etc/projects, and these trees are then recursively descended\n"
 " to mark the affected inodes as being part of that tree - which sets inode\n"