Fossil SCM

Document the --linenum and --invert command-line options to 'fossil diff'.

danield 2024-01-18 15:20 trunk
Commit eb4efc8ccd3eaaab23ce7d57fad3c665699415bcac021f66ba5bf52c94b664b0
1 file changed +2
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1259,11 +1259,13 @@
12591259
** --exec-abs-paths Force absolute path names on external commands
12601260
** --exec-rel-paths Force relative path names on external commands
12611261
** -r|--from VERSION Select VERSION as source for the diff
12621262
** -w|--ignore-all-space Ignore white space when comparing lines
12631263
** -i|--internal Use internal diff logic
1264
+** --invert Invert the diff
12641265
** --json Output formatted as JSON
1266
+** -n|--linenum Show line numbers
12651267
** -N|--new-file Alias for --verbose
12661268
** --numstat Show only the number of added and deleted lines
12671269
** -y|--side-by-side Side-by-side diff
12681270
** --strip-trailing-cr Strip trailing CR
12691271
** --tcl Tcl-formated output used internally by --tk
12701272
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1259,11 +1259,13 @@
1259 ** --exec-abs-paths Force absolute path names on external commands
1260 ** --exec-rel-paths Force relative path names on external commands
1261 ** -r|--from VERSION Select VERSION as source for the diff
1262 ** -w|--ignore-all-space Ignore white space when comparing lines
1263 ** -i|--internal Use internal diff logic
 
1264 ** --json Output formatted as JSON
 
1265 ** -N|--new-file Alias for --verbose
1266 ** --numstat Show only the number of added and deleted lines
1267 ** -y|--side-by-side Side-by-side diff
1268 ** --strip-trailing-cr Strip trailing CR
1269 ** --tcl Tcl-formated output used internally by --tk
1270
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1259,11 +1259,13 @@
1259 ** --exec-abs-paths Force absolute path names on external commands
1260 ** --exec-rel-paths Force relative path names on external commands
1261 ** -r|--from VERSION Select VERSION as source for the diff
1262 ** -w|--ignore-all-space Ignore white space when comparing lines
1263 ** -i|--internal Use internal diff logic
1264 ** --invert Invert the diff
1265 ** --json Output formatted as JSON
1266 ** -n|--linenum Show line numbers
1267 ** -N|--new-file Alias for --verbose
1268 ** --numstat Show only the number of added and deleted lines
1269 ** -y|--side-by-side Side-by-side diff
1270 ** --strip-trailing-cr Strip trailing CR
1271 ** --tcl Tcl-formated output used internally by --tk
1272

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button