From c092f5118f09d967e6c057541a9bce5c3c1c636f Mon Sep 17 00:00:00 2001 From: aaron-613 Date: Thu, 19 Oct 2023 18:14:29 +0800 Subject: [PATCH] helper text --- README.md | 6 +++--- src/main/java/com/solace/labs/aaron/PrettyDump.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cfdd86d..71a4172 100644 --- a/README.md +++ b/README.md @@ -59,10 +59,10 @@ Usage: PrettyDump [host:port] [message-vpn] [username] [password] [topics|q:queu - If 'default' client-username is enabled in VPN, you can use any username - Subscribing options, one of: - comma-separated list of Direct topic subscriptions - - "q:queueName" to consume from queue - - "b:queueName" to browse a queue + - q:queueName to consume from queue + - b:queueName to browse a queue - Can browse all messages, or specific messages by ID - - Optional indent: integer, default=4; specifying 0 compresses payload formatting + - Optional indent: integer, default = 4 spaces; specifying 0 compresses payload formatting - Use negative indent value (column width) for one-line topic & payload only - Use negative zero ("-0") for only topic, no payload - Default charset is UTF-8. Override by setting: export PRETTY_DUMP_OPTS=-Dcharset=whatever diff --git a/src/main/java/com/solace/labs/aaron/PrettyDump.java b/src/main/java/com/solace/labs/aaron/PrettyDump.java index 7bdf751..907cc47 100644 --- a/src/main/java/com/solace/labs/aaron/PrettyDump.java +++ b/src/main/java/com/solace/labs/aaron/PrettyDump.java @@ -85,10 +85,10 @@ public static void main(String... args) throws JCSMPException, IOException, Inte System.out.println(" - If 'default' client-username is enabled in VPN, you can use any username"); System.out.println(" - Subscribing options, one of:"); System.out.println(" - comma-separated list of Direct topic subscriptions"); - System.out.println(" - \"q:queueName\" to consume from queue"); - System.out.println(" - \"b:queueName\" to browse a queue"); + System.out.println(" - q:queueName to consume from queue"); + System.out.println(" - b:queueName to browse a queue"); System.out.println(" - Can browse all messages, or specific messages by ID"); - System.out.println(" - Optional indent: integer, default=4; specifying 0 compresses payload formatting"); + System.out.println(" - Optional indent: integer, default = 4 spaces; specifying 0 compresses payload formatting"); System.out.println(" - Use negative indent value (column width) for one-line topic & payload only"); System.out.println(" - Use negative zero (\"-0\") for only topic, no payload"); System.out.println(" - Default charset is UTF-8. Override by setting: export PRETTY_DUMP_OPTS=-Dcharset=whatever");