Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

update usage handler and handle no args #6

Merged
merged 4 commits into from Jan 19, 2020
Merged

update usage handler and handle no args #6

merged 4 commits into from Jan 19, 2020

Conversation

pallavJha
Copy link

The PR
- updates the usage handler
- adds example input for -n and -y flags

$ ./sandy 
Usage: ./sandy [OPTIONS] command
  -h	Print Usage.
  -n value
    	A glob pattern for automatically blocking file reads.
    	For example, "/etc/password.txt" or "*.txt".
  -y value
    	A glob pattern for automatically allowing file reads.
    	Expected format is same as -n.

$ ./sandy -h
Usage: ./sandy [OPTIONS] command
  -h	Print Usage.
  -n value
    	A glob pattern for automatically blocking file reads.
    	For example, "/etc/password.txt" or "*.txt".
  -y value
    	A glob pattern for automatically allowing file reads.
    	Expected format is same as -n.

Fixes #1

Copy link
Owner

@craigmulligan craigmulligan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

@craigmulligan craigmulligan merged commit dcba083 into craigmulligan:master Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Friendlier message when running without arguments
2 participants