gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Better help message and user question in unify-sources.sh
0 1 0
default
1 file changed with 14 insertions and 15 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -67,3 +67,3 @@
67 67
    echo $CHANGED_FILES out of $TOTAL_FILES files has been changed.
68
    echo $WARNED_FILES out of $TOTAL_FILES files has been warned.
68
    echo $WARNED_FILES out of $TOTAL_FILES files triggered warnings.
69 69
}
... ...
@@ -109,3 +109,3 @@
109 109
    echo $FAILED_FILES out of $TOTAL_FILES files has been failed.
110
    echo $WARNED_FILES out of $TOTAL_FILES files has been warned.
110
    echo $WARNED_FILES out of $TOTAL_FILES files triggered warnings.
111 111

	
... ...
@@ -118,3 +118,3 @@
118 118
	then
119
	    echo -n "Assume as normal behaviour? (yes/no) "
119
	    echo -n "Are the files with warnings acceptable? (yes/no) "
120 120
	    while read answer
... ...
@@ -128,3 +128,3 @@
128 128
		fi
129
		echo -n "Assume as normal behaviour? (yes/no) "		    
129
		echo -n "Are the files with warnings acceptable? (yes/no) "
130 130
	    done
... ...
@@ -259,8 +259,9 @@
259 259
  --dry-run|-n
260
     Check the given files, but do not modify them.
260
     Check the files, but do not modify them.
261 261
  --interactive|-i
262
     If --dry-run is specified and files are warned then a message is
263
     prompted whether the warnings should be turned to errors.
262
     If --dry-run is specified and the checker emits warnings,
263
     then the user is asked if the warnings should be considered
264
     errors.
264 265
  --werror|-w
265
     If --dry-run is specified and the warnings are turned to errors.
266
     Make all warnings into errors.
266 267
  --all|-a
... ...
@@ -268,11 +269,9 @@
268 269
  --modified|-m
269
     Check only the modified source files. This option is proper to
270
     use before a commit. E.g. all files which are modified or added
271
     into the repository will be updated.
270
     Check only the modified (and new) source files. This option is
271
     useful to check the modification before making a commit.
272 272
  --changed|-c
273 273
     Check only the changed source files compared to the parent(s) of
274
     the current hg node.  This option is proper to use as hg hook
275
     script. E.g. to check all your commited source files with this
276
     script add the following section to the appropriate .hg/hgrc
277
     file.
274
     the current hg node.  This option is useful as hg hook script.
275
     To automatically check all your changes before making a commit,
276
     add the following section to the appropriate .hg/hgrc file.
278 277

	
0 comments (0 inline)