Revisione mount (e riorganizzazione della trattazione dei mount flag)
[gapil.git] / sources / mymount.c
index fcb92f0f8ce38eb54d10dc7e7e997bea5f74585c..d419026efab0f3adad2d2795d1725859f67b9e13 100644 (file)
@@ -216,5 +216,8 @@ void usage(void) {
     printf("you always need to specify two argument, source and target,\n");
     printf("matching the system call ones, if one of them is not needed\n");
     printf("just pass an empty string\n");
+    printf("you also need to specify options and flag, give an empty \n");
+    printf("string for option if you don't want to set any, i.e. \n");
+    printf("   ./mymount -t ext4 -o "" -f remount,rdonly /dev/sdb1 /mnt");
     exit(1);
 }