summaryrefslogtreecommitdiffstats
path: root/scripts/bareboxenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bareboxenv.c')
-rw-r--r--scripts/bareboxenv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/bareboxenv.c b/scripts/bareboxenv.c
index bdff644335..f1706a5e17 100644
--- a/scripts/bareboxenv.c
+++ b/scripts/bareboxenv.c
@@ -98,6 +98,12 @@ static void usage(char *prgname)
printf( "Usage : %s [OPTION] DIRECTORY FILE\n"
"Load a barebox environment sector into a directory or\n"
"save a directory into a barebox environment sector\n"
+#ifndef __BAREBOX__
+ "\n"
+ "Attention:\n"
+ "Depending on your environment backend storage you need to\n"
+ "erase FILE before you save the new environment.\n"
+#endif
"\n"
"options:\n"
" -s save (directory -> environment sector)\n"