Skip to content

Commit

Permalink
Update man page.
Browse files Browse the repository at this point in the history
  • Loading branch information
emcrisostomo committed May 29, 2014
1 parent 0096e40 commit 2430fbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ChangeLog
- Add section about compatibility issues with v. 0.x.
- Add information about fswatch-run in README.
* configure.ac: Bump v. 1.3.3.
* fswatch.7: Update man page.
* fswatch.cpp: Add -o/--one-per-batch option to print a single message
with the number of change events in the current batch.
* fswatch-run: Add shell script to mimic the behaviour of earlier
Expand Down
5 changes: 4 additions & 1 deletion fswatch.7
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ hierarchies are modified.

.Sh SYNOPSIS
.Nm fswatch
.Op Fl 0EhikLnprtuvx
.Op Fl 0EhikLnoprtuvx
.Op Fl e Ar regexp
.Op Fl f Ar format-time
.Op Fl l Ar latency
Expand Down Expand Up @@ -123,6 +123,9 @@ The numeric value of the event flags are system-specific and may vary across
different versions of OS X.
As a consequence, the use of numeric values is discouraged.

.It Fl o, -one-per-batch
Print a single message with the number of change events.

.It Fl p, -poll
Use the poll-based monitor.
This monitor periodically stats the file system to detect changes on the
Expand Down
2 changes: 1 addition & 1 deletion fswatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static void usage()
cout << " -l, --latency=DOUBLE Set the latency.\n";
cout << " -L, --follow-links Follow symbolic links.\n";
cout << " -n, --numeric Print a numeric event mask.\n";
cout << " -o, --one-per-batch Print a single message with the number of change events\n";
cout << " -o, --one-per-batch Print a single message with the number of change events.\n";
cout << " in the current batch.\n";
cout << " -p, --poll Use the poll monitor.\n";
cout << " -r, --recursive Recurse subdirectories.\n";
Expand Down

0 comments on commit 2430fbc

Please sign in to comment.