#1898 prosodyctl shell commands `!!` and `!old!new!` don't work

Reporter lissine
Owner MattJ
Created
Updated
Stars ★ (1)
Tags
  • Priority-Low
  • Status-Fixed
  • Type-Defect
  1. lissine on

    `prosodyctl shell help console` says: ``` For now we offer a couple of handy shortcuts: !! - Repeat the last command !old!new! - repeat the last command, but with 'old' replaced by 'new' ``` Examples: ``` prosody> server:version() | OK: 13.0 nightly build 7 (2025-02-17, e9edf9b50f32) prosody> !! ! Sorry, I couldn't understand that... console:1: unexpected symbol near '!' prosody> server:version() | OK: 13.0 nightly build 7 (2025-02-17, e9edf9b50f32) prosody> !version!uptime! ! Sorry, I couldn't understand that... console:1: unexpected symbol near '!' ```

  2. Zash on

    Thanks for the report. Investigating, I found this has been broken a long time. I can't myself remember using this feature even. Perhaps we don't need it?

    Changes
    • tags Priority-Low
  3. lissine on

    IIRC this has been broken for a long time on 0.12, and nobody complained. So, probably no one would care if it's removed.

  4. MattJ on

    Thanks for the report! I've removed this help text in https://hg.prosody.im/trunk/rev/5cc4a3e0335c

    Changes
    • tags Status-Fixed
  5. MattJ on

    Changes
    • owner MattJ

New comment

Not published. Used for spam prevention and optional update notifications.