case 'u':
if (arg_url)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --url");
+ "Cannot use more than one --url=");
arg_url = optarg;
break;
case ARG_KEY:
if (arg_key)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --key");
+ "Cannot use more than one --key=");
arg_key = optarg;
break;
case ARG_CERT:
if (arg_cert)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --cert");
+ "Cannot use more than one --cert=");
arg_cert = optarg;
break;
case ARG_TRUST:
if (arg_trust)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --trust");
+ "Cannot use more than one --trust=");
arg_trust = optarg;
break;
case 'M':
if (arg_machine)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --machine/-M");
+ "Cannot use more than one --machine=/-M");
arg_machine = optarg;
break;
case 'D':
if (arg_directory)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --directory/-D");
+ "Cannot use more than one --directory=/-D");
arg_directory = optarg;
break;
case ARG_CURSOR:
if (arg_cursor)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --cursor/--after-cursor");
+ "Cannot use more than one --cursor=/--after-cursor=");
arg_cursor = optarg;
break;
case ARG_AFTER_CURSOR:
if (arg_cursor)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "cannot use more than one --cursor/--after-cursor");
+ "Cannot use more than one --cursor=/--after-cursor=");
arg_cursor = optarg;
arg_after_cursor = true;
if (!arg_url)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "Required --url/-u option missing.");
+ "Required --url=/-u option missing.");
if (!!arg_key != !!arg_cert)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "Options --key and --cert must be used together.");
+ "Options --key= and --cert= must be used together.");
if (optind < argc && (arg_directory || arg_file || arg_machine || arg_journal_type))
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),