mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-23 09:43:34 +08:00
Add version information
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
This commit is contained in:
parent
c6ff6d09de
commit
8bdf26205d
@ -28,6 +28,7 @@
|
||||
#include <uuid/uuid.h>
|
||||
|
||||
#include "f2fs_format.h"
|
||||
#include "../version.h"
|
||||
|
||||
struct f2fs_global_parameters f2fs_params;
|
||||
struct f2fs_super_block super_block;
|
||||
@ -1284,6 +1285,9 @@ exit:
|
||||
*/
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
printf("\nF2FS-tools: Ver: %s (%s)\n",
|
||||
F2FS_TOOLS_VERSION,
|
||||
F2FS_TOOLS_DATE);
|
||||
f2fs_init_global_parameters();
|
||||
|
||||
f2fs_parse_options(argc, argv);
|
||||
|
10
version.h
Normal file
10
version.h
Normal file
@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
|
||||
* http://www.samsung.com/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
#define F2FS_TOOLS_VERSION "1.0.0"
|
||||
#define F2FS_TOOLS_DATE "26-Nov-2012"
|
Loading…
Reference in New Issue
Block a user