Commit 07cc7983 07cc79832d17d327640c8a61c5a33612d36f2ace by Sergey Poznyakoff

(__argp_base_name): New function

1 parent e66c276c
......@@ -1334,3 +1334,11 @@ mu_is_proto (const char *p)
return 0;
}
char *
__argp_base_name (const char *arg)
{
char *p = strrchr (arg, '/');
return p ? p + 1 : arg;
}
......