Changeset 334
- Timestamp:
- 11/27/07 14:51:49 (5 years ago)
- Location:
- trunk/idldoc/src
- Files:
-
- 3 modified
-
doc_system__define.pro (modified) (3 diffs)
-
idldoc.pro (modified) (3 diffs)
-
resources/main.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/idldoc/src/doc_system__define.pro
r323 r334 247 247 248 248 249 message, 'IDLDOC: ' +msg, /noname249 message, msg, /noname 250 250 end 251 251 … … 281 281 282 282 if (~self.quiet && ~self.silent) then print, msg 283 end 284 285 286 ;+ 287 ; Print basic help message. 288 ;- 289 pro doc_system::printHelp 290 compile_opt strictarr 291 292 msg = ['Calling syntax: ', $ 293 '', $ 294 ' IDL> idldoc, ROOT=root, OUTPUT=output', $ 295 '', $ 296 'where the ROOT keyword specifies a directory hierarchy to', $ 297 'document and the OUTPUT keyword specifies an output location.', $ 298 '', $ 299 'See the help for more information about other keywords.'] 300 301 self->print, transpose(msg) 283 302 end 284 303 … … 921 940 preformat=preformat, browse_routines=browseRoutines, $ 922 941 template_prefix=templatePrefix, $ 923 template_location=templateLocation 942 template_location=templateLocation, $ 943 help=help, version=version 924 944 compile_opt strictarr 925 945 926 946 self.version = idldoc_version() 947 948 if (keyword_set(version)) then begin 949 self->print, 'IDLdoc ' + self.version 950 return, 0 951 endif 952 953 if (keyword_set(help)) then begin 954 self->printHelp 955 return, 0 956 endif 927 957 928 958 ; check root directory -
trunk/idldoc/src/idldoc.pro
r313 r334 64 64 ; error : out, optional, type=long 65 65 ; error code from run; 0 indicates no error 66 ; help : in, optional, type=boolean 67 ; if set, print out a help message instead of running IDLdoc 68 ; version : in, optional, type=boolean 69 ; if set, print the IDLdoc version instead of running IDLdoc 66 70 ;- 67 71 pro idldoc, root=root, $ … … 88 92 template_prefix=templatePrefix, $ 89 93 template_location=templateLocation, $ 90 error=error 94 error=error, $ 95 help=help, $ 96 version=version 91 97 compile_opt strictarr 92 98 93 99 ; TODO: make sure to turn debug off before releasing 94 debug = 1B100 debug = 0B 95 101 origPath = !path 96 102 … … 129 135 browse_routines=browseRoutines, $ 130 136 template_prefix=templatePrefix, $ 131 template_location=templateLocation) 137 template_location=templateLocation, $ 138 help=help, $ 139 version=version) 132 140 133 141 !path = origPath -
trunk/idldoc/src/resources/main.css
r328 r334 43 43 44 44 /* code styles */ 45 code { font-family: Monaco ;"Courier New", Courier, monospace; }45 code { font-family: Monaco, "Courier New", Courier, monospace; } 46 46 code.listing { white-space: pre; display: block; padding: 0.5em 3em 0.5em 3em; font-size: 90%; } 47 47 code.source { white-space: pre; display: block; font-size: 90%; }
