* Name: tash_df
****************************************************************************/
+#ifndef CONFIG_DISABLE_MOUNTPOINT
static int tash_df(int argc, char **args)
{
if (argc > 1 && strcmp(args[1], "-h") == 0) {
return 0;
}
+#endif
const static tash_cmdlist_t fs_utilcmds[] = {
#ifndef CONFIG_DISABLE_ENVIRON
#ifndef CONFIG_DISABLE_ENVIRON
{"rmdir", tash_rmdir, TASH_EXECMD_SYNC},
#endif
+#ifndef CONFIG_DISABLE_MOUNTPOINT
{"df", tash_df, TASH_EXECMD_SYNC},
+#endif
{NULL, NULL, 0}
};