Here's how I'm comparing the usage output of each command to make sure no flags were dropped/changed:
$ mkdir cur proposed
$ dpkg -L mstflint | grep ^/usr/bin/ > mstflint.commands
$ for cmd in $(< mstflint.commands); do $cmd -h > cur/$(basename $cmd).usage; done
### Upgrade mstflint to -proposed version
$ for cmd in $(< mstflint.commands); do $cmd -h > proposed/$(basename $cmd).usage; done
$ diff -urpN cur proposed
= Command usage() regression checks =
Here's how I'm comparing the usage output of each command to make sure no flags were dropped/changed:
$ mkdir cur proposed
$ dpkg -L mstflint | grep ^/usr/bin/ > mstflint.commands
$ for cmd in $(< mstflint.commands); do $cmd -h > cur/$(basename $cmd).usage; done
### Upgrade mstflint to -proposed version
$ for cmd in $(< mstflint.commands); do $cmd -h > proposed/$(basename $cmd).usage; done
$ diff -urpN cur proposed