cmd/audit: clean up flag handling

There were several uses of "flag" that should have been "fs" for the
subcommand. Fix them.

Make sure that "audit xxx help" works. ("audit help" and
"audit xxx -help" already worked.)

Add a common function to provide the flag that specifies the
directory where the data files will be written and call it in
the subcommands.

Change-Id: I43cb2132db515fac018a545896022e23dd68e166
Reviewed-on: https://upspin-review.googlesource.com/17341
Reviewed-by: Andrew Gerrand <adg@golang.org>
3 files changed
tree: 22c92faf7d84e2b9da9e9a68f68bca0937a5ba96
  1. .travis.yml
  2. AUTHORS
  3. CONDUCT.md
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README.md
  9. client/
  10. cmd/
  11. codereview.cfg
  12. filesystem/
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.