- Timestamp:
- Feb 4, 2011, 3:49:44 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- e062f97
- Parents:
- e3c8332
- git-author:
- David Benjamin <davidben@mit.edu> (01/25/11 00:18:14)
- git-committer:
- David Benjamin <davidben@mit.edu> (02/04/11 15:49:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cmd.c
re3c8332 r4d24650 276 276 if (cmd->usage && *cmd->usage) { 277 277 s = cmd->usage; 278 indent = owl_malloc(strlen(s)+(owl_text_num_lines(s)+3)*OWL_TAB+1); 279 owl_text_indent(indent, s, OWL_TAB); 278 indent = owl_text_indent(s, OWL_TAB); 280 279 owl_fmtext_append_bold(fm, "\nSYNOPSIS\n"); 281 280 owl_fmtext_append_normal(fm, indent); … … 291 290 if (cmd->description && *cmd->description) { 292 291 s = cmd->description; 293 indent = owl_malloc(strlen(s)+(owl_text_num_lines(s)+3)*OWL_TAB+1); 294 owl_text_indent(indent, s, OWL_TAB); 292 indent = owl_text_indent(s, OWL_TAB); 295 293 owl_fmtext_append_bold(fm, "\nDESCRIPTION\n"); 296 294 owl_fmtext_append_normal(fm, indent);
Note: See TracChangeset
for help on using the changeset viewer.