Skip to content

Commit

Permalink
ping: deprecate (Opt.hidden) -Q flag
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Nov 22, 2023
1 parent fe05221 commit bcbc5b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cardano-cli/src/Cardano/CLI/Run/Ping.hs
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,14 @@ pPing = PingCmd
<*> ( Opt.switch $ mconcat
[ Opt.long "quiet"
, Opt.short 'q'
, Opt.help "Quiet flag, CSV/JSON only output"
, Opt.help "Quiet flag: don't print network statistics."
]
)
-- TODO remove this option at some point (TODO introduced in 8.15)
<*> ( Opt.switch $ mconcat
[ Opt.long "query-versions"
, Opt.hidden
, Opt.short 'Q'
, Opt.help "Query the supported protocol versions using the handshake protocol and terminate the connection."
, Opt.help "Query the supported protocol versions using the handshake protocol and terminate the connection (deprecated, use the \"cardano-cli handshake\" command instead)."
]
)

0 comments on commit bcbc5b3

Please sign in to comment.