Skip to content

Commit

Permalink
Update usage help.
Browse files Browse the repository at this point in the history
  • Loading branch information
idrassi committed Jul 15, 2015
1 parent 41479fe commit 9871473
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ [email protected]

3-clause BSD license ("New BSD License")

Home page: https://idrassi.github.io/DirHash/

Usage
------------

DirHash.exe DirectoryOrFilePath [HashAlgo] [-t ResultFileName] [-nowait]
DirHash.exe DirectoryOrFilePath [HashAlgo] [-t ResultFileName] [-nowait] [-hashnames]

Possible values for HashAlgo (not case sensitive):
- MD5
- SHA1
- SHA256
- SHA384
Expand All @@ -23,3 +26,5 @@ If HashAlgo is not specified, SHA-1 is used by default.
ResultFileName specifies an optional text file where the result will be appended.

if -nowait is specified, program will exit immediately after displaying the hash result. Otherwise, it prompts user to hit a key before it exits.

if -hashnames is specified, the case sensitive names of the files and directories will be included in the hash computation. Otherwise, only files content is used.

0 comments on commit 9871473

Please sign in to comment.