#816437 apt displays “Command line option is not understood” when the subcommand is wrong

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Nicolas Braud-Santoni
Date:
2023-08-29 16:15:09 UTC
Severity:
minor
#816437#5
Date:
2016-03-01 20:23:31 UTC
From:
To:
Dear Maintainer,


When apt(8) is involed with a non-existing subcommand and an option,
  an error is reported about the option rather than about the subcommand:


Would it be posible, instead, to report first errors about
  non-existing subcommands?


Best,

  nicoo