Skip to contentSkip to conversation

usertools/telemetry: fix instance help text

PATCH Applied Conor Walsh 3 participants 3 messages Oct 18, 2021 – Oct 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usertools/telemetry: fix instance help text

The instance option help text was incorrect, this patch corrects it.

Fixes 11435aae2089 ("usertools/telemetry: connect to separate instances")
---
 usertools/dpdk-telemetry.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
usertools/dpdk-telemetry.py +1 -1
index 4d9f2d9787..5b3bf83356 100755
@@ -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()
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Conor Walsh

The instance option help text was incorrect, this patch corrects it.

Fixes 11435aae2089 ("usertools/telemetry: connect to separate instances")
---
 usertools/dpdk-telemetry.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
usertools/dpdk-telemetry.py +0 -0
index 4d9f2d9787..5b3bf83356 100755

usertools/dpdk-telemetry.py def readline_complete(text, state): · line 168

Quoted 5 lines
usertools/dpdk-telemetry.py +1 -1
@@ -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.