Use base::CommandLine instead gflags for parsing command line.
BUG=chromium:231682
TEST=Tested the following:
1. Build and run unit tests.
2. Verify cros-disks is launched properly by upstart.
3. Verify different command line switches:
/opt/google/cros-disks/disks --help
/opt/google/cros-disks/disks --foreground
/opt/google/cros-disks/disks --foreground --log-level=0
Change-Id: Ib40a6586b25ee8abaec1717e143cae46f3795878
Reviewed-on: https://gerrit.chromium.org/gerrit/48167
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
3 files changed