Re: [PATCH 2/2] Be consistent in switch usage for tar
On 16:25 Mon 05 Jan , henrik@austad.us wrote:
> From: Henrik Austad <henrik@austad.us>
>
> tar handles switches with and witouth preceding '-', but the documentation should be
Show 17 quoted lines
> consistent nonetheless.
>
> Signed-off-by: Henrik Austad <henrik@austad.us>
> ---
> Documentation/user-manual.txt | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
> index 5242a7e..19f571a 100644
> --- a/Documentation/user-manual.txt
> +++ b/Documentation/user-manual.txt
> @@ -1009,7 +1009,7 @@ $ git init
> If you have some initial content (say, a tarball):
>
> -------------------------------------------------
> -$ tar -xzvf project.tar.gz
> +$ tar xzvf project.tar.gz
Btw, tar manpage uses dashed options in usage examples:
tar -xvf foo.tar
verbosely extract foo.tar
...
Show 5 quoted lines
> $ cd project
> $ git init
> $ git add . # include everything below ./ in the first commit:
> --
> 1.6.1.36.g8430e