+int warn_check_opts(int quiet, int warn, int status)
+{
+ int n = 0;
+ if(quiet == 1)
+ n = WARN("the --quiet option is meaningful only when verifying checksums\n");
+ if(status ==1)
+ n = WARN("the --status option is meaningful only when verifying checksums\n");
+ if(warn == 1)
+ n = WARN("the --warn option is meaningful only when verifying checksums\n");
+ return n;
+}
+
+int warn_gen_opts(int tag, int binary)
+{
+ int n = 0;
+ if (tag == 1)
+ n = WARN("the --tag option is meaningful only when calculating file checksums\n");
+ if (binary >= 0)
+ n = WARN("the --text and --binary options are meaningful only when calculating file checksums\n");
+ return n;
+}