dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data
GNU General Public License v3.0
14 stars 1 forks source link

CLI: Issue warning message, if neither file nor attributes given on "update" command #99

Closed tangobravo62 closed 3 years ago

tangobravo62 commented 3 years ago

An update command with neither an input file nor any command line attributes given is a NO-OP. The user shall be informed of that by way of a warning message. On top of that, it may be useful for the user to know that an update command was performed correctly, but did not actually change anything (i. e. the object version before the update is the same as after the update). When implementing that, care must be taken of sub-objects, which may be modified without the enclosing object being changed.

tangobravo62 commented 3 years ago

Fixed in CLI 0.7.1:

prosEO (PTM)> mission update
(I2808) Data not modified

Accepted as per test report CLI 0.6.0.