Remove the requirement to separate service parameters with "--" 59/255959/1
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Thu, 25 Mar 2021 12:27:20 +0000 (13:27 +0100)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Thu, 25 Mar 2021 13:19:33 +0000 (14:19 +0100)
commit23611668eb13daf5e919e644e7fbe29fc39997cf
tree0f60050922a0f7bd512e8f1f22c6b0a851ff956a
parentb632e4ad9a769e3313e2331d71a78561b1c6a5ad
Remove the requirement to separate service parameters with "--"

This change removes the requirement to separate service options from
dumpsys options with "--". Now all options after the service name are
passed to the target service.

After this change there is no need to call:

    dumpsys -o /tmp/data.txt org.tizen.some_service -- --opt1 arg1

Can be called simply:

    dumpsys -o /tmp/data.txt org.tizen.some_service --opt1 arg1

Change-Id: I6886f7dfd8e0cf550833163901c07c7c7f25d933
src/dumpsys/dumpsys.c