• sit@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    Meanwhile I’m looking up the command to update pihole every patch. was it —up, -update, —update, or -up? Or was it just up?

    If you know more than 3 commands I’m paying my sincere respects to you smart, kind, gay sir. 🫡

    • gole@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      You should try “the fuck”. Wrong command? Just type fuck! It will fix itself. 100% AI free.

    • remotelove@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      Flags have always been poorly standardized outside of system apps and tools. Generally, -u should equal --update (and depending on how the app was written, may warn for --up: “Did you mean --update?”) Single tick flags are generally combinable: -ua or -ls. I have seen long single tick flags somewhere, but can’t remember where. (Your -update example.) Various python libraries than handle flags have helped a ton with getting people to use the same patterns, so that is nice.

      You just summed up my first experience with systemd many years ago.

      systemctl != sysctl. Both somehow got wedged into the same index in my brain and took years for me to correct. On top of that, <service> <action> was reversed to <action> <service>. (Or was it the other way around?)

      I was convinced from my first experience with systemd that the person who wrote it was the purest form of evil. (It’s leveled out a bit over the years, so it’s tolerable to use these days. Still not a fan though.)