example/qos_sched: fix option -i in usage

Message ID 20201102114303.5639-1-ibtisam.tariq@emumba.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series example/qos_sched: fix option -i in usage |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/travis-robot success Travis build: passed
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/Intel-compilation success Compilation OK

Commit Message

Ibtisam Tariq Nov. 2, 2020, 11:43 a.m. UTC
  The short option written for interactive mode is --i in usage of
this qos_sched example. Actually, it is -i.

Fixes: cfd5c971e5e ("examples/qos_sched: add stats")

Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
---
 examples/qos_sched/args.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

David Marchand Nov. 5, 2020, 8:57 a.m. UTC | #1
On Mon, Nov 2, 2020 at 12:59 PM Ibtisam Tariq <ibtisam.tariq@emumba.com> wrote:
>
> The short option written for interactive mode is --i in usage of
> this qos_sched example. Actually, it is -i.
>
> Fixes: cfd5c971e5e ("examples/qos_sched: add stats")
>
> Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
> ---
>  examples/qos_sched/args.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c
> index c62719623..c369ba9b4 100644
> --- a/examples/qos_sched/args.c
> +++ b/examples/qos_sched/args.c
> @@ -39,7 +39,7 @@ static const char usage[] =
>         "           multiple pfc can be configured in command line                      \n"
>         "                                                                               \n"
>         "Application optional parameters:                                               \n"
> -        "    --i     : run in interactive mode (default value is %u)                    \n"
> +       "    -i      : run in interactive mode (default value is %u)                    \n"
>         "    --mnc I : main core index (default value is %u)                            \n"
>         "    --rsz \"A, B, C\" :   Ring sizes                                           \n"
>         "           A = Size (in number of buffer descriptors) of each of the NIC RX    \n"
> --
> 2.17.1
>

Reviewed-by: David Marchand <david.marchand@redhat.com>
  
David Marchand Nov. 13, 2020, 1:23 p.m. UTC | #2
On Thu, Nov 5, 2020 at 9:57 AM David Marchand <david.marchand@redhat.com> wrote:
>
> On Mon, Nov 2, 2020 at 12:59 PM Ibtisam Tariq <ibtisam.tariq@emumba.com> wrote:
> >
> > The short option written for interactive mode is --i in usage of
> > this qos_sched example. Actually, it is -i.
> >
> > Fixes: cfd5c971e5e ("examples/qos_sched: add stats")
Cc: stable@dpdk.org

> >
> > Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
> Reviewed-by: David Marchand <david.marchand@redhat.com>

Applied, thanks.
  

Patch

diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c
index c62719623..c369ba9b4 100644
--- a/examples/qos_sched/args.c
+++ b/examples/qos_sched/args.c
@@ -39,7 +39,7 @@  static const char usage[] =
 	"           multiple pfc can be configured in command line                      \n"
 	"                                                                               \n"
 	"Application optional parameters:                                               \n"
-        "    --i     : run in interactive mode (default value is %u)                    \n"
+	"    -i      : run in interactive mode (default value is %u)                    \n"
 	"    --mnc I : main core index (default value is %u)                            \n"
 	"    --rsz \"A, B, C\" :   Ring sizes                                           \n"
 	"           A = Size (in number of buffer descriptors) of each of the NIC RX    \n"