example/notify_inval_entry.c: fix example command in comments
authordesertwitch <24509509+desertwitch@users.noreply.github.com>
Thu, 4 Jul 2024 15:55:36 +0000 (17:55 +0200)
committerBernd Schubert <bernd.schubert@fastmail.fm>
Mon, 8 Jul 2024 07:53:08 +0000 (09:53 +0200)
Notifications should be enabled here, but present command example would disable them.

example/notify_inval_entry.c

index c30789970646bd255d3f1199aa291d122f66948c..27bd84c6d0afd0d656fbe0f2dbaab337aea256a6 100644 (file)
@@ -51,7 +51,7 @@
  * In contrast, if you enable notifications you will be unable to stat
  * the file as soon as the file system updates its name:
  *
- *     $ notify_inval_entry --update-interval=1 --timeout 30 --no-notify mnt/
+ *     $ notify_inval_entry --update-interval=1 --timeout 30 mnt/
  *     $ file=$(ls mnt/); stat mnt/$file
  *       File: ‘mnt/Time_is_20h_42m_11s’
  *       Size: 0                 Blocks: 0          IO Block: 4096   regular empty file