Skip to content
Snippets Groups Projects
Commit ca77555c authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

typo fix

parent d179c02f
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@
#include <langinfo.h>
#include <sys/types.h>
#include <wchar.h>
#include <unistd.h>//access
#include <stdio.h>//access
#include <unistd.h>
//#include <stdio.h>
#include <oblibs/sastr.h>
#include <oblibs/error2.h>
......@@ -111,9 +111,9 @@ static inline void info_help (void)
" -v: increase/decrease verbosity\n"
" -c: use color\n"
" -o: comma separated list of field to display\n"
" -g: displays the contains field as graph\n"
" -d: limit the depth of the contains field recursion\n"
" -r: reserve the contains field\n"
" -g: displays the contents field as graph\n"
" -d: limit the depth of the contents field recursion\n"
" -r: reserve the contents field\n"
" -t: only search service at the specified tree\n"
" -p: print n last lines of the log file\n"
"\n"
......@@ -130,10 +130,10 @@ static inline void info_help (void)
" start: displays the service's start script\n"
" stop: displays the service's stop script\n"
" envat: displays the source of the environment file\n"
" envfile: displays the contains of the environment file\n"
" envfile: displays the contents of the environment file\n"
" logname: displays the logger's name\n"
" logdst: displays the logger's destination\n"
" logfile: displays the contains of the log file\n"
" logfile: displays the contents of the log file\n"
"\n"
;
......
......@@ -56,7 +56,7 @@ static void info_display_name(char const *field,char const *treename) ;
static void info_display_init(char const *field,char const *treename) ;
static void info_display_enabled(char const *field,char const *treename) ;
static void info_display_current(char const *field,char const *treename) ;
static void info_display_contains(char const *field,char const *treename) ;
static void info_display_contents(char const *field,char const *treename) ;
ss_resolve_graph_style *STYLE = &graph_default ;
info_opts_map_t const opts_tree_table[] =
......@@ -65,7 +65,7 @@ info_opts_map_t const opts_tree_table[] =
{ .str = "init", .func = &info_display_init, .id = 1 },
{ .str = "enabled", .func = &info_display_enabled, .id = 2 },
{ .str = "current", .func = &info_display_current, .id = 3 },
{ .str = "contains", .func = &info_display_contains, .id = 4 },
{ .str = "contents", .func = &info_display_contents, .id = 4 },
{ .str = 0, .func = 0, .id = -1 }
} ;
......@@ -86,9 +86,9 @@ static inline void info_help (void)
" -l: live directory\n"
" -c: use color\n"
" -o: comma separated list of field to display\n"
" -g: displays the contains field as graph\n"
" -d: limit the depth of the contains field recursion\n"
" -r: reserve the contains field\n"
" -g: displays the contents field as graph\n"
" -d: limit the depth of the contents field recursion\n"
" -r: reserve the contents field\n"
"\n"
"valid field for -o options are:\n"
"\n"
......@@ -96,7 +96,7 @@ static inline void info_help (void)
" init: displays a boolean value of the initialization state\n"
" enabled: displays a boolean value of the enable state\n"
" current: displays a boolean value of the current state\n"
" contains: displays the contain of the tree\n"
" contents: displays the contents of the tree\n"
"\n"
;
......@@ -231,7 +231,7 @@ static void info_get_graph_src(ss_resolve_graph_t *graph,char const *src,unsigne
ss_resolve_free(&res) ;
}
static void info_display_contains(char const *field, char const *treename)
static void info_display_contents(char const *field, char const *treename)
{
int r ;
size_t padding = 1 ;
......@@ -365,7 +365,7 @@ int main(int argc, char const *const *argv, char const *const *envp)
"Initialized",
"Enabled",
"Current",
"Contains" } ;
"Contents" } ;
stralloc satree = STRALLOC_ZERO ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment