sherpa icon indicating copy to clipboard operation
sherpa copied to clipboard

bug: `sherpa paste` exits without error

Open OneCDOnly opened this issue 4 years ago • 1 comments

[~] # sherpa paste
sherpa 220421 • a mini-package-manager for QNAP NAS

[~] # echo $?
0

Should look more like:

[~] # sherpa restore
sherpa 220501f • a mini-package-manager for QNAP NAS

derp: I've nothing to-do (the supplied arguments were incomplete or didn't make sense). 

Usage: sherpa [action] [packages...] [action] [packages...] ... [options...]

   To list available [action]s, type:
      # sherpa list actions

   To list available [packages...], type:
      # sherpa list packages

   Or, for more [options...], type:
      # sherpa list options

There's also the wiki: https://github.com/OneCDOnly/sherpa/wiki

[~] # echo $?
1

OneCDOnly avatar Apr 21 '22 02:04 OneCDOnly

The fix for this should happen when the new $MANAGEMENT_ACTIONS() array is integrated.

OneCDOnly avatar Apr 21 '22 02:04 OneCDOnly