__u32 net = LNET_NIDNET(LNET_NID_ANY);
int rc;
- fprintf(stderr, "This command has been deprecated. Plesae use 'lnetctl net add'\n");
+ fprintf(stderr, "lctl %s: has been deprecated. Please use "
+ "'lnetctl net'\n", argv[0]);
if (argc != 2) {
fprintf(stderr, "usage: %s <net>|up|down\n", argv[0]);
int count;
int rc;
- fprintf(stderr, "This command has been deprecated. Plesae use 'lnetctl net show'\n");
+ fprintf(stderr, "lctl %s: has been deprecated. Please use "
+ "'lnetctl net show'\n", argv[0]);
all = (argc == 2) && (strcmp(argv[1], "all") == 0);
/* Hack to pass back value */
char *sep;
int i;
- fprintf(stderr, "This command has been deprecated. Plesae use 'lnetctl ping'\n");
+ fprintf(stderr, "lctl %s: has been deprecated. Please use "
+ "'lnetctl ping'\n", argv[0]);
if (argc < 2) {
fprintf(stderr, "usage: %s id [timeout (secs)]\n", argv[0]);
int alive;
unsigned int pri;
- fprintf(stderr, "This command has been deprecated. Plesae use 'lnetctl route show'\n");
+ fprintf(stderr, "lctl %s: has been deprecated. Please use "
+ "'lnetctl route show'\n", argv[0]);
for (index = 0; ; index++) {
LIBCFS_IOC_INIT_V2(data, cfg_hdr);