martyr-deepin / deepin-screenshot

Deprecated (migrated into deepin-screen-recorder after v20), consider create and maintain your own fork if you love it.
https://www.deepin.org/original/deepin-screenshot/
GNU General Public License v3.0
346 stars 102 forks source link

Change the operation of CLI #51

Open SquareFong opened 5 years ago

SquareFong commented 5 years ago

Deepin-screenshot can only use one argument at one time, but sometimes, users may want to get a screenshot and save to specified path. This PR change the logic on processing arguments, in order to make it possible to use delay, fullscreen/top-window and save-path at the same time.