usertools/telemetry: fix instance help text

Message ID 20211018103929.726346-1-conor.walsh@intel.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series usertools/telemetry: fix instance help text |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-testing warning apply patch failure

Commit Message

Conor Walsh Oct. 18, 2021, 10:39 a.m. UTC
  The instance option help text was incorrect, this patch corrects it.

Fixes: 11435aae2089 ("usertools/telemetry: connect to separate instances")

Signed-off-by: Conor Walsh <conor.walsh@intel.com>
---
 usertools/dpdk-telemetry.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bruce Richardson Oct. 18, 2021, 10:59 a.m. UTC | #1
On Mon, Oct 18, 2021 at 10:39:29AM +0000, Conor Walsh wrote:
> The instance option help text was incorrect, this patch corrects it.
> 
> Fixes: 11435aae2089 ("usertools/telemetry: connect to separate instances")
> 
> Signed-off-by: Conor Walsh <conor.walsh@intel.com>
> ---
>  usertools/dpdk-telemetry.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/usertools/dpdk-telemetry.py b/usertools/dpdk-telemetry.py
> index 4d9f2d9787..5b3bf83356 100755
> --- a/usertools/dpdk-telemetry.py
> +++ b/usertools/dpdk-telemetry.py
> @@ -165,7 +165,7 @@ def readline_complete(text, state):
>  parser.add_argument('-f', '--file-prefix', default=DEFAULT_PREFIX,
>                      help='Provide file-prefix for DPDK runtime directory')
>  parser.add_argument('-i', '--instance', default='0', type=int,
> -                    help='Provide file-prefix for DPDK runtime directory')
> +                    help='Provide instance number for DPDK application')

Good catch, thanks for fixing.

Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  
David Marchand Oct. 19, 2021, 1:33 p.m. UTC | #2
On Mon, Oct 18, 2021 at 12:59 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
> > The instance option help text was incorrect, this patch corrects it.
> >
> > Fixes: 11435aae2089 ("usertools/telemetry: connect to separate instances")
> >
> > Signed-off-by: Conor Walsh <conor.walsh@intel.com>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied, thanks.
  

Patch

diff --git a/usertools/dpdk-telemetry.py b/usertools/dpdk-telemetry.py
index 4d9f2d9787..5b3bf83356 100755
--- a/usertools/dpdk-telemetry.py
+++ b/usertools/dpdk-telemetry.py
@@ -165,7 +165,7 @@  def readline_complete(text, state):
 parser.add_argument('-f', '--file-prefix', default=DEFAULT_PREFIX,
                     help='Provide file-prefix for DPDK runtime directory')
 parser.add_argument('-i', '--instance', default='0', type=int,
-                    help='Provide file-prefix for DPDK runtime directory')
+                    help='Provide instance number for DPDK application')
 parser.add_argument('-l', '--list', action="store_true", default=False,
                     help='List all possible file-prefixes and exit')
 args = parser.parse_args()