mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
homectl: realign table
This commit is contained in:
parent
4dbcda1cca
commit
c133387f7e
@ -2810,102 +2810,102 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
};
|
||||
|
||||
static const struct option options[] = {
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "version", no_argument, NULL, ARG_VERSION },
|
||||
{ "no-pager", no_argument, NULL, ARG_NO_PAGER },
|
||||
{ "no-legend", no_argument, NULL, ARG_NO_LEGEND },
|
||||
{ "no-ask-password", no_argument, NULL, ARG_NO_ASK_PASSWORD },
|
||||
{ "offline", no_argument, NULL, ARG_OFFLINE },
|
||||
{ "host", required_argument, NULL, 'H' },
|
||||
{ "machine", required_argument, NULL, 'M' },
|
||||
{ "identity", required_argument, NULL, 'I' },
|
||||
{ "real-name", required_argument, NULL, 'c' },
|
||||
{ "comment", required_argument, NULL, 'c' }, /* Compat alias to keep thing in sync with useradd(8) */
|
||||
{ "realm", required_argument, NULL, ARG_REALM },
|
||||
{ "email-address", required_argument, NULL, ARG_EMAIL_ADDRESS },
|
||||
{ "location", required_argument, NULL, ARG_LOCATION },
|
||||
{ "password-hint", required_argument, NULL, ARG_PASSWORD_HINT },
|
||||
{ "icon-name", required_argument, NULL, ARG_ICON_NAME },
|
||||
{ "home-dir", required_argument, NULL, 'd' }, /* Compatible with useradd(8) */
|
||||
{ "uid", required_argument, NULL, 'u' }, /* Compatible with useradd(8) */
|
||||
{ "member-of", required_argument, NULL, 'G' },
|
||||
{ "groups", required_argument, NULL, 'G' }, /* Compat alias to keep thing in sync with useradd(8) */
|
||||
{ "skel", required_argument, NULL, 'k' }, /* Compatible with useradd(8) */
|
||||
{ "shell", required_argument, NULL, 's' }, /* Compatible with useradd(8) */
|
||||
{ "setenv", required_argument, NULL, ARG_SETENV },
|
||||
{ "timezone", required_argument, NULL, ARG_TIMEZONE },
|
||||
{ "language", required_argument, NULL, ARG_LANGUAGE },
|
||||
{ "locked", required_argument, NULL, ARG_LOCKED },
|
||||
{ "not-before", required_argument, NULL, ARG_NOT_BEFORE },
|
||||
{ "not-after", required_argument, NULL, ARG_NOT_AFTER },
|
||||
{ "expiredate", required_argument, NULL, 'e' }, /* Compat alias to keep thing in sync with useradd(8) */
|
||||
{ "ssh-authorized-keys", required_argument, NULL, ARG_SSH_AUTHORIZED_KEYS },
|
||||
{ "disk-size", required_argument, NULL, ARG_DISK_SIZE },
|
||||
{ "access-mode", required_argument, NULL, ARG_ACCESS_MODE },
|
||||
{ "umask", required_argument, NULL, ARG_UMASK },
|
||||
{ "nice", required_argument, NULL, ARG_NICE },
|
||||
{ "rlimit", required_argument, NULL, ARG_RLIMIT },
|
||||
{ "tasks-max", required_argument, NULL, ARG_TASKS_MAX },
|
||||
{ "memory-high", required_argument, NULL, ARG_MEMORY_HIGH },
|
||||
{ "memory-max", required_argument, NULL, ARG_MEMORY_MAX },
|
||||
{ "cpu-weight", required_argument, NULL, ARG_CPU_WEIGHT },
|
||||
{ "io-weight", required_argument, NULL, ARG_IO_WEIGHT },
|
||||
{ "storage", required_argument, NULL, ARG_STORAGE },
|
||||
{ "image-path", required_argument, NULL, ARG_IMAGE_PATH },
|
||||
{ "fs-type", required_argument, NULL, ARG_FS_TYPE },
|
||||
{ "luks-discard", required_argument, NULL, ARG_LUKS_DISCARD },
|
||||
{ "luks-offline-discard", required_argument, NULL, ARG_LUKS_OFFLINE_DISCARD },
|
||||
{ "luks-cipher", required_argument, NULL, ARG_LUKS_CIPHER },
|
||||
{ "luks-cipher-mode", required_argument, NULL, ARG_LUKS_CIPHER_MODE },
|
||||
{ "luks-volume-key-size", required_argument, NULL, ARG_LUKS_VOLUME_KEY_SIZE },
|
||||
{ "luks-pbkdf-type", required_argument, NULL, ARG_LUKS_PBKDF_TYPE },
|
||||
{ "luks-pbkdf-hash-algorithm", required_argument, NULL, ARG_LUKS_PBKDF_HASH_ALGORITHM },
|
||||
{ "luks-pbkdf-force-iterations", required_argument, NULL, ARG_LUKS_PBKDF_FORCE_ITERATIONS },
|
||||
{ "luks-pbkdf-time-cost", required_argument, NULL, ARG_LUKS_PBKDF_TIME_COST },
|
||||
{ "luks-pbkdf-memory-cost", required_argument, NULL, ARG_LUKS_PBKDF_MEMORY_COST },
|
||||
{ "luks-pbkdf-parallel-threads", required_argument, NULL, ARG_LUKS_PBKDF_PARALLEL_THREADS },
|
||||
{ "luks-sector-size", required_argument, NULL, ARG_LUKS_SECTOR_SIZE },
|
||||
{ "nosuid", required_argument, NULL, ARG_NOSUID },
|
||||
{ "nodev", required_argument, NULL, ARG_NODEV },
|
||||
{ "noexec", required_argument, NULL, ARG_NOEXEC },
|
||||
{ "cifs-user-name", required_argument, NULL, ARG_CIFS_USER_NAME },
|
||||
{ "cifs-domain", required_argument, NULL, ARG_CIFS_DOMAIN },
|
||||
{ "cifs-service", required_argument, NULL, ARG_CIFS_SERVICE },
|
||||
{ "cifs-extra-mount-options", required_argument, NULL, ARG_CIFS_EXTRA_MOUNT_OPTIONS },
|
||||
{ "rate-limit-interval", required_argument, NULL, ARG_RATE_LIMIT_INTERVAL },
|
||||
{ "rate-limit-burst", required_argument, NULL, ARG_RATE_LIMIT_BURST },
|
||||
{ "stop-delay", required_argument, NULL, ARG_STOP_DELAY },
|
||||
{ "kill-processes", required_argument, NULL, ARG_KILL_PROCESSES },
|
||||
{ "enforce-password-policy", required_argument, NULL, ARG_ENFORCE_PASSWORD_POLICY },
|
||||
{ "password-change-now", required_argument, NULL, ARG_PASSWORD_CHANGE_NOW },
|
||||
{ "password-change-min", required_argument, NULL, ARG_PASSWORD_CHANGE_MIN },
|
||||
{ "password-change-max", required_argument, NULL, ARG_PASSWORD_CHANGE_MAX },
|
||||
{ "password-change-warn", required_argument, NULL, ARG_PASSWORD_CHANGE_WARN },
|
||||
{ "password-change-inactive", required_argument, NULL, ARG_PASSWORD_CHANGE_INACTIVE },
|
||||
{ "auto-login", required_argument, NULL, ARG_AUTO_LOGIN },
|
||||
{ "session-launcher", required_argument, NULL, ARG_SESSION_LAUNCHER, },
|
||||
{ "session-type", required_argument, NULL, ARG_SESSION_TYPE, },
|
||||
{ "json", required_argument, NULL, ARG_JSON },
|
||||
{ "export-format", required_argument, NULL, ARG_EXPORT_FORMAT },
|
||||
{ "pkcs11-token-uri", required_argument, NULL, ARG_PKCS11_TOKEN_URI },
|
||||
{ "fido2-credential-algorithm", required_argument, NULL, ARG_FIDO2_CRED_ALG },
|
||||
{ "fido2-device", required_argument, NULL, ARG_FIDO2_DEVICE },
|
||||
{ "fido2-with-client-pin", required_argument, NULL, ARG_FIDO2_WITH_PIN },
|
||||
{ "fido2-with-user-presence", required_argument, NULL, ARG_FIDO2_WITH_UP },
|
||||
{ "fido2-with-user-verification",required_argument, NULL, ARG_FIDO2_WITH_UV },
|
||||
{ "recovery-key", required_argument, NULL, ARG_RECOVERY_KEY },
|
||||
{ "and-resize", required_argument, NULL, ARG_AND_RESIZE },
|
||||
{ "and-change-password", required_argument, NULL, ARG_AND_CHANGE_PASSWORD },
|
||||
{ "drop-caches", required_argument, NULL, ARG_DROP_CACHES },
|
||||
{ "luks-extra-mount-options", required_argument, NULL, ARG_LUKS_EXTRA_MOUNT_OPTIONS },
|
||||
{ "auto-resize-mode", required_argument, NULL, ARG_AUTO_RESIZE_MODE },
|
||||
{ "rebalance-weight", required_argument, NULL, ARG_REBALANCE_WEIGHT },
|
||||
{ "capability-bounding-set", required_argument, NULL, ARG_CAPABILITY_BOUNDING_SET },
|
||||
{ "capability-ambient-set", required_argument, NULL, ARG_CAPABILITY_AMBIENT_SET },
|
||||
{ "prompt-new-user", no_argument, NULL, ARG_PROMPT_NEW_USER },
|
||||
{ "blob", required_argument, NULL, 'b' },
|
||||
{ "avatar", required_argument, NULL, ARG_AVATAR },
|
||||
{ "login-background", required_argument, NULL, ARG_LOGIN_BACKGROUND },
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "version", no_argument, NULL, ARG_VERSION },
|
||||
{ "no-pager", no_argument, NULL, ARG_NO_PAGER },
|
||||
{ "no-legend", no_argument, NULL, ARG_NO_LEGEND },
|
||||
{ "no-ask-password", no_argument, NULL, ARG_NO_ASK_PASSWORD },
|
||||
{ "offline", no_argument, NULL, ARG_OFFLINE },
|
||||
{ "host", required_argument, NULL, 'H' },
|
||||
{ "machine", required_argument, NULL, 'M' },
|
||||
{ "identity", required_argument, NULL, 'I' },
|
||||
{ "real-name", required_argument, NULL, 'c' },
|
||||
{ "comment", required_argument, NULL, 'c' }, /* Compat alias to keep thing in sync with useradd(8) */
|
||||
{ "realm", required_argument, NULL, ARG_REALM },
|
||||
{ "email-address", required_argument, NULL, ARG_EMAIL_ADDRESS },
|
||||
{ "location", required_argument, NULL, ARG_LOCATION },
|
||||
{ "password-hint", required_argument, NULL, ARG_PASSWORD_HINT },
|
||||
{ "icon-name", required_argument, NULL, ARG_ICON_NAME },
|
||||
{ "home-dir", required_argument, NULL, 'd' }, /* Compatible with useradd(8) */
|
||||
{ "uid", required_argument, NULL, 'u' }, /* Compatible with useradd(8) */
|
||||
{ "member-of", required_argument, NULL, 'G' },
|
||||
{ "groups", required_argument, NULL, 'G' }, /* Compat alias to keep thing in sync with useradd(8) */
|
||||
{ "skel", required_argument, NULL, 'k' }, /* Compatible with useradd(8) */
|
||||
{ "shell", required_argument, NULL, 's' }, /* Compatible with useradd(8) */
|
||||
{ "setenv", required_argument, NULL, ARG_SETENV },
|
||||
{ "timezone", required_argument, NULL, ARG_TIMEZONE },
|
||||
{ "language", required_argument, NULL, ARG_LANGUAGE },
|
||||
{ "locked", required_argument, NULL, ARG_LOCKED },
|
||||
{ "not-before", required_argument, NULL, ARG_NOT_BEFORE },
|
||||
{ "not-after", required_argument, NULL, ARG_NOT_AFTER },
|
||||
{ "expiredate", required_argument, NULL, 'e' }, /* Compat alias to keep thing in sync with useradd(8) */
|
||||
{ "ssh-authorized-keys", required_argument, NULL, ARG_SSH_AUTHORIZED_KEYS },
|
||||
{ "disk-size", required_argument, NULL, ARG_DISK_SIZE },
|
||||
{ "access-mode", required_argument, NULL, ARG_ACCESS_MODE },
|
||||
{ "umask", required_argument, NULL, ARG_UMASK },
|
||||
{ "nice", required_argument, NULL, ARG_NICE },
|
||||
{ "rlimit", required_argument, NULL, ARG_RLIMIT },
|
||||
{ "tasks-max", required_argument, NULL, ARG_TASKS_MAX },
|
||||
{ "memory-high", required_argument, NULL, ARG_MEMORY_HIGH },
|
||||
{ "memory-max", required_argument, NULL, ARG_MEMORY_MAX },
|
||||
{ "cpu-weight", required_argument, NULL, ARG_CPU_WEIGHT },
|
||||
{ "io-weight", required_argument, NULL, ARG_IO_WEIGHT },
|
||||
{ "storage", required_argument, NULL, ARG_STORAGE },
|
||||
{ "image-path", required_argument, NULL, ARG_IMAGE_PATH },
|
||||
{ "fs-type", required_argument, NULL, ARG_FS_TYPE },
|
||||
{ "luks-discard", required_argument, NULL, ARG_LUKS_DISCARD },
|
||||
{ "luks-offline-discard", required_argument, NULL, ARG_LUKS_OFFLINE_DISCARD },
|
||||
{ "luks-cipher", required_argument, NULL, ARG_LUKS_CIPHER },
|
||||
{ "luks-cipher-mode", required_argument, NULL, ARG_LUKS_CIPHER_MODE },
|
||||
{ "luks-volume-key-size", required_argument, NULL, ARG_LUKS_VOLUME_KEY_SIZE },
|
||||
{ "luks-pbkdf-type", required_argument, NULL, ARG_LUKS_PBKDF_TYPE },
|
||||
{ "luks-pbkdf-hash-algorithm", required_argument, NULL, ARG_LUKS_PBKDF_HASH_ALGORITHM },
|
||||
{ "luks-pbkdf-force-iterations", required_argument, NULL, ARG_LUKS_PBKDF_FORCE_ITERATIONS },
|
||||
{ "luks-pbkdf-time-cost", required_argument, NULL, ARG_LUKS_PBKDF_TIME_COST },
|
||||
{ "luks-pbkdf-memory-cost", required_argument, NULL, ARG_LUKS_PBKDF_MEMORY_COST },
|
||||
{ "luks-pbkdf-parallel-threads", required_argument, NULL, ARG_LUKS_PBKDF_PARALLEL_THREADS },
|
||||
{ "luks-sector-size", required_argument, NULL, ARG_LUKS_SECTOR_SIZE },
|
||||
{ "nosuid", required_argument, NULL, ARG_NOSUID },
|
||||
{ "nodev", required_argument, NULL, ARG_NODEV },
|
||||
{ "noexec", required_argument, NULL, ARG_NOEXEC },
|
||||
{ "cifs-user-name", required_argument, NULL, ARG_CIFS_USER_NAME },
|
||||
{ "cifs-domain", required_argument, NULL, ARG_CIFS_DOMAIN },
|
||||
{ "cifs-service", required_argument, NULL, ARG_CIFS_SERVICE },
|
||||
{ "cifs-extra-mount-options", required_argument, NULL, ARG_CIFS_EXTRA_MOUNT_OPTIONS },
|
||||
{ "rate-limit-interval", required_argument, NULL, ARG_RATE_LIMIT_INTERVAL },
|
||||
{ "rate-limit-burst", required_argument, NULL, ARG_RATE_LIMIT_BURST },
|
||||
{ "stop-delay", required_argument, NULL, ARG_STOP_DELAY },
|
||||
{ "kill-processes", required_argument, NULL, ARG_KILL_PROCESSES },
|
||||
{ "enforce-password-policy", required_argument, NULL, ARG_ENFORCE_PASSWORD_POLICY },
|
||||
{ "password-change-now", required_argument, NULL, ARG_PASSWORD_CHANGE_NOW },
|
||||
{ "password-change-min", required_argument, NULL, ARG_PASSWORD_CHANGE_MIN },
|
||||
{ "password-change-max", required_argument, NULL, ARG_PASSWORD_CHANGE_MAX },
|
||||
{ "password-change-warn", required_argument, NULL, ARG_PASSWORD_CHANGE_WARN },
|
||||
{ "password-change-inactive", required_argument, NULL, ARG_PASSWORD_CHANGE_INACTIVE },
|
||||
{ "auto-login", required_argument, NULL, ARG_AUTO_LOGIN },
|
||||
{ "session-launcher", required_argument, NULL, ARG_SESSION_LAUNCHER, },
|
||||
{ "session-type", required_argument, NULL, ARG_SESSION_TYPE, },
|
||||
{ "json", required_argument, NULL, ARG_JSON },
|
||||
{ "export-format", required_argument, NULL, ARG_EXPORT_FORMAT },
|
||||
{ "pkcs11-token-uri", required_argument, NULL, ARG_PKCS11_TOKEN_URI },
|
||||
{ "fido2-credential-algorithm", required_argument, NULL, ARG_FIDO2_CRED_ALG },
|
||||
{ "fido2-device", required_argument, NULL, ARG_FIDO2_DEVICE },
|
||||
{ "fido2-with-client-pin", required_argument, NULL, ARG_FIDO2_WITH_PIN },
|
||||
{ "fido2-with-user-presence", required_argument, NULL, ARG_FIDO2_WITH_UP },
|
||||
{ "fido2-with-user-verification", required_argument, NULL, ARG_FIDO2_WITH_UV },
|
||||
{ "recovery-key", required_argument, NULL, ARG_RECOVERY_KEY },
|
||||
{ "and-resize", required_argument, NULL, ARG_AND_RESIZE },
|
||||
{ "and-change-password", required_argument, NULL, ARG_AND_CHANGE_PASSWORD },
|
||||
{ "drop-caches", required_argument, NULL, ARG_DROP_CACHES },
|
||||
{ "luks-extra-mount-options", required_argument, NULL, ARG_LUKS_EXTRA_MOUNT_OPTIONS },
|
||||
{ "auto-resize-mode", required_argument, NULL, ARG_AUTO_RESIZE_MODE },
|
||||
{ "rebalance-weight", required_argument, NULL, ARG_REBALANCE_WEIGHT },
|
||||
{ "capability-bounding-set", required_argument, NULL, ARG_CAPABILITY_BOUNDING_SET },
|
||||
{ "capability-ambient-set", required_argument, NULL, ARG_CAPABILITY_AMBIENT_SET },
|
||||
{ "prompt-new-user", no_argument, NULL, ARG_PROMPT_NEW_USER },
|
||||
{ "blob", required_argument, NULL, 'b' },
|
||||
{ "avatar", required_argument, NULL, ARG_AVATAR },
|
||||
{ "login-background", required_argument, NULL, ARG_LOGIN_BACKGROUND },
|
||||
{}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user