Lines Matching refs:printf
34 printf("Invalid number of arguments. See 'cper-convert --help' for command information.\n"); in main()
63 printf("Unrecognised argument '%s'. See 'cper-convert --help' for command information.\n", in main()
80 printf("Unrecognised argument '%s'. See 'cper-convert --help' for command information.\n", in main()
94 printf("Could not open provided CPER file '%s', file handle returned null.\n", in cper_to_json()
106 printf("Could not read CPER file '%s', read returned %zu bytes.\n", in cper_to_json()
116 printf("base64 decode failed for CPER file '%s'.\n", in cper_to_json()
123 printf("Invalid CPER file '%s'.\n", in_file); in cper_to_json()
152 printf("%s\n", json_output); in cper_to_json()
159 printf("Could not get a handle for output file '%s', file handle returned null.\n", in cper_to_json()
174 …printf("No output file provided for 'to-cper'. See 'cper-convert --help' for command information.\… in json_to_cper()
181 printf("Could not read JSON from file '%s', import returned null.\n", in json_to_cper()
189 printf("Could not open output file '%s', file handle returned null.\n", in json_to_cper()
209 printf(":: to-json cper.file [--out file.name]\n"); in print_help()
210 …printf("\tConverts the provided CPER log file into JSON, by default writing to stdout. If '--out' … in print_help()
211 printf("\tThe outputted JSON will be written to the provided file name instead.\n"); in print_help()
212 printf("\n:: to-json-section cper.section.file [--out file.name]\n"); in print_help()
213 …printf("\tConverts the provided single CPER section descriptor & section file into JSON, by defaul… in print_help()
214 printf("\tOtherwise behaves the same as 'to-json'.\n"); in print_help()
215 …printf("\n:: to-cper cper.json --out file.name [--no-validate] [--debug] [--specification some/spe… in print_help()
216 …printf("\tConverts the provided CPER-JSON JSON file into CPER binary. An output file must be speci… in print_help()
217 …printf("\tWill automatically detect whether the JSON passed is a single section, or a whole file,\… in print_help()
218 printf("\tand output binary accordingly.\n\n"); in print_help()
219 …printf("\tBy default, the provided JSON will try to be validated against a specification. If no sp… in print_help()
220 …printf("\tis provided with '--specification', then it will default to 'argv[0] + /specification/cp… in print_help()
221 …printf("\tIf the '--no-validate' argument is set, then the provided JSON will not be validated. Be… in print_help()
222 printf("\tpremature exit/unexpected behaviour in CPER output.\n\n"); in print_help()
223 …printf("\tIf '--debug' is set, then debug output for JSON specification parsing will be printed to… in print_help()
224 printf("\n:: --help\n"); in print_help()
225 printf("\tDisplays help information to the console.\n"); in print_help()