Fossil

Check-in [84dc7b0f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Wrap an over-long source code line. No logic changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 84dc7b0f3f1bd50ce5467350d6efd72a25efd84d
User & Date: drh 2012-12-15 14:19:08
Context
2012-12-15
14:25
Add robustness to the handling of command-line options in the "diff" and "test-diff" commands. check-in: 60d5b1f5 user: drh tags: trunk
14:19
Wrap an over-long source code line. No logic changes. check-in: 84dc7b0f user: drh tags: trunk
14:13
Always set "white-space: pre-wrap;" in the CSS. check-in: 1442cc7f user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

890
891
892
893
894
895
896

897

898
899
900
901
902
903
904
** Any remaining command-line argument begins with "-" print
** an error message and quit.
*/
void verify_all_options(void){
  int i;
  for(i=1; i<g.argc; i++){
    if( g.argv[i][0]=='-' ){

      fossil_fatal("unrecognized command-line option, or missing argument: %s", g.argv[i]);

    }
  }
}

/*
** Print a list of words in multiple columns.
*/







>
|
>







890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
** Any remaining command-line argument begins with "-" print
** an error message and quit.
*/
void verify_all_options(void){
  int i;
  for(i=1; i<g.argc; i++){
    if( g.argv[i][0]=='-' ){
      fossil_fatal(
        "unrecognized command-line option, or missing argument: %s",
        g.argv[i]);
    }
  }
}

/*
** Print a list of words in multiple columns.
*/